mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
parent
fef6c9bbde
commit
510eb4e6a8
@ -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/
|
||||
|
||||
@ -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",
|
||||
@ -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)
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user