Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
rev: v0.2.0
hooks:
- id: ruff
name: Run Ruff on Lib/test/
Expand Down
8 changes: 5 additions & 3 deletions Lib/test/.ruff.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fix = true
select = [
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
]
extend-exclude = [
# Excluded (these aren't actually executed, they're just "data files")
"tokenizedata/*.py",
Expand All @@ -22,3 +19,8 @@ extend-exclude = [
"test_yield_from.py",
"time_hashlib.py",
]

[lint]
select = [
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
]