Skip to content

Commit 11c7f05

Browse files
Upgrade ruff to 0.8.1
Remove deprecated rules: https://astral.sh/blog/ruff-v0.8.0#removal-of-six-deprecated-rules
1 parent f8e3432 commit 11c7f05

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ default_language_version:
77
python: python3
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.8.0
10+
rev: v0.8.1
1111
hooks:
1212
- id: ruff
1313
args: ["--fix", "--show-fixes"]

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,19 +294,14 @@ extend-select = [
294294
"W", # pycodestyle warnings
295295
]
296296
ignore = [
297-
"ANN101", # deprecated
298-
"ANN102", # deprecated
299297
"ANN401",
300-
"PT004", # deprecated
301-
"PT005", # deprecated
302298
"PT011", # TODO: apply this rule
303299
"PT012", # TODO: apply this rule
304300
"RET505",
305301
"RET506",
306302
"RUF005",
307303
"SIM108",
308304
"TRY003",
309-
"UP027", # deprecated
310305
"UP038", # https://github.com/astral-sh/ruff/issues/7871
311306
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
312307
"W191",

0 commit comments

Comments
 (0)