Skip to content

Commit aa419ce

Browse files
committed
lint updates
1 parent 40f1220 commit aa419ce

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ci:
1212

1313
repos:
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.7.4
15+
rev: v0.8.0
1616
hooks:
1717
- id: ruff
1818
args: ["--fix", "--output-format=full"]

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ line-length = 100
88

99
[tool.ruff.lint]
1010
select = ["E", "F", "I", "PL", "UP", "W"]
11-
ignore-init-module-imports = true
1211
ignore = [
1312
"PLR2004", # Checks for the use of unnamed numerical constants ("magic") values in comparisons.
1413
]
@@ -17,7 +16,7 @@ ignore = [
1716
max-args = 19
1817
max-branches = 15
1918

20-
[tool.ruff.extend-per-file-ignores]
19+
[tool.ruff.lint.extend-per-file-ignores]
2120
"docs/conf.py" = ["E501", "F541"]
2221
"tests/test_*.py" = ["F841"]
2322

0 commit comments

Comments
 (0)