Skip to content

Commit 510eb4e

Browse files
authored
[3.11] Bump ruff to 0.2.0 (#114932) (#115008)
1 parent fef6c9b commit 510eb4e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.1.7
3+
rev: v0.2.0
44
hooks:
55
- id: ruff
66
name: Run Ruff on Lib/test/

Lib/test/.ruff.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
fix = true
2-
select = [
3-
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
4-
]
52
extend-exclude = [
63
# Excluded (these aren't actually executed, they're just "data files")
74
"tokenizedata/*.py",
@@ -22,3 +19,8 @@ extend-exclude = [
2219
"test_yield_from.py",
2320
"time_hashlib.py",
2421
]
22+
23+
[lint]
24+
select = [
25+
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
26+
]

0 commit comments

Comments
 (0)