Skip to content

Commit

Permalink
Upgrade ruff to 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Nov 30, 2024
1 parent f8e3432 commit d46f927
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.0
rev: v0.8.1
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -294,19 +294,14 @@ extend-select = [
"W", # pycodestyle warnings
]
ignore = [
"ANN101", # deprecated
"ANN102", # deprecated
"ANN401",
"PT004", # deprecated
"PT005", # deprecated
"PT011", # TODO: apply this rule
"PT012", # TODO: apply this rule
"RET505",
"RET506",
"RUF005",
"SIM108",
"TRY003",
"UP027", # deprecated
"UP038", # https://github.com/astral-sh/ruff/issues/7871
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
Expand Down

0 comments on commit d46f927

Please sign in to comment.