Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 4, 2024
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
[3.11] Bump ruff to 0.2.0 (#114932)
  • Loading branch information
AlexWaygood committed Feb 4, 2024
commit bc703528568f70d5fd1c36b3a4f7fe221021bfde
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)
]
Loading