Skip to content

Commit

Permalink
Bump ruff from 0.6.9 to 0.7.0 (#3647)
Browse files Browse the repository at this point in the history
* Bump ruff from 0.6.9 to 0.7.0

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.9 to 0.7.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.6.9...0.7.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updated dependencies in requirements files

* 🚨 Ruff 0.7.0 fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: james <81617086+je-cook@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and je-cook authored Oct 21, 2024
1 parent d899391 commit 932e7fa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
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

0 comments on commit 932e7fa

Please sign in to comment.