[3.11] Bump ruff to 0.2.0 (#114932) (#115008)

This commit is contained in:
Alex Waygood 2024-02-04 20:00:05 +00:00 committed by GitHub
parent fef6c9bbde
commit 510eb4e6a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -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/

View File

@ -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)
]