Skip to content

Commit 04a0c60

Browse files
Avoid warning with ruff 0.14 (#1942)
warning: The following rules have been removed and ignoring them has no effect: UP038
1 parent dcb167e commit 04a0c60

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ repos:
1313
- id: check-json
1414
- id: check-yaml
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.12.2
16+
rev: v0.14.3
1717
hooks:
18-
# Run the linter.
1918
- id: ruff-check
2019
args: [ --fix, "--show-fixes"]
2120
- id: ruff-format

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ ignore = [
220220
"SIM115",
221221
"SIM117",
222222
"TC003",
223-
# https://github.com/astral-sh/ruff/issues/7871
224-
"UP038",
225223
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
226224
"W191",
227225
"E111",

0 commit comments

Comments
 (0)