File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
- rev : v0.1.7
3
+ rev : v0.2.0
4
4
hooks :
5
5
- id : ruff
6
6
name : Run Ruff on Lib/test/
Original file line number Diff line number Diff line change 1
1
fix = true
2
- select = [
3
- " F811" , # Redefinition of unused variable (useful for finding test methods with the same name)
4
- ]
5
2
extend-exclude = [
6
3
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
7
4
" test_clinic.py" ,
@@ -21,3 +18,8 @@ extend-exclude = [
21
18
" test_pkg.py" ,
22
19
" test_yield_from.py" ,
23
20
]
21
+
22
+ [lint ]
23
+ select = [
24
+ " F811" , # Redefinition of unused variable (useful for finding test methods with the same name)
25
+ ]
Original file line number Diff line number Diff line change 1
1
target-version = " py310"
2
2
fix = true
3
+
4
+ [lint ]
3
5
select = [
4
6
" F" , # Enable all pyflakes rules
5
7
" UP" , # Enable all pyupgrade rules by default
You can’t perform that action at this time.
0 commit comments