Skip to content

Commit e0ddee6

Browse files
Bump ruff and update pre-commit legacy alias (#791)
* chore: update pre-commit ruff hook * Update pre-commit legacy alias * remove obsolete ruff rule warning: The following rules have been removed and ignoring them has no effect: - UP038 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent da2e0aa commit e0ddee6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ repos:
1414
- id: debug-statements
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.11.12
17+
rev: v0.14.6
1818
hooks:
19-
- id: ruff
19+
- id: ruff-check
2020
args: ["--fix", "--show-fixes"]
2121
- id: ruff-format
2222

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,13 @@ ignore = [
204204
"PT001",
205205
"PT011",
206206
"PT012",
207+
"PT031",
207208
"RET505",
208209
"RET506",
209210
"SIM108",
210211
"TRY003",
211212
"TRY301",
212213
"UP007",
213-
"UP038", # https://github.com/astral-sh/ruff/issues/7871
214214
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
215215
"W191",
216216
"E111",

0 commit comments

Comments
 (0)