https://github.com/python/cpython/commit/510eb4e6a8f1153119ac51031913676abdc44bb7
commit: 510eb4e6a8f1153119ac51031913676abdc44bb7
branch: 3.11
author: Alex Waygood <[email protected]>
committer: AlexWaygood <[email protected]>
date: 2024-02-04T20:00:05Z
summary:

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

files:
M .pre-commit-config.yaml
M Lib/test/.ruff.toml

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ecf5d93f9b2be6..ad9593cc38a74f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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/
diff --git a/Lib/test/.ruff.toml b/Lib/test/.ruff.toml
index 89e33b2d63c8f6..233ee0233c31fe 100644
--- a/Lib/test/.ruff.toml
+++ b/Lib/test/.ruff.toml
@@ -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)
+]

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to