Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ruff from 0.6.9 to 0.7.0 #3647

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
exclude: test_data

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: [--fix]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ dev = [
"pytest-html",
"pytest-metadata",
"pytest-json-report",
"ruff==0.6.9",
"ruff==0.7.0",
"sphinx",
"sphinx-autoapi",
"sphinx_copybutton",
Expand Down
2 changes: 1 addition & 1 deletion requirements/uv/all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ rpds-py==0.20.0
# via
# jsonschema
# referencing
ruff==0.6.9
ruff==0.7.0
# via bluemira (pyproject.toml)
scikit-learn==1.5.2
# via bluemira (pyproject.toml)
Expand Down
2 changes: 1 addition & 1 deletion requirements/uv/develop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ rpds-py==0.20.0
# via
# jsonschema
# referencing
ruff==0.6.9
ruff==0.7.0
# via bluemira (pyproject.toml)
scikit-learn==1.5.2
# via bluemira (pyproject.toml)
Expand Down
3 changes: 2 additions & 1 deletion tests/utilities/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import copy
import filecmp
import json
import string
from pathlib import Path
from unittest.mock import patch

Expand Down Expand Up @@ -64,7 +65,7 @@ def test_is_num():

class TestAsciiStr:
def test_asciistr(self):
alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
alphabet = string.ascii_letters
for i in range(52):
assert asciistr(i + 1) == alphabet[: i + 1]

Expand Down
Loading