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 11repos :
22 - repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : v0.1.7
3+ rev : v0.2.0
44 hooks :
55 - id : ruff
66 name : Run Ruff on Lib/test/
Original file line number Diff line number Diff line change 11fix = true
2- select = [
3- " F811" , # Redefinition of unused variable (useful for finding test methods with the same name)
4- ]
52extend-exclude = [
63 # Excluded (run with the other AC files in its own separate ruff job in pre-commit)
74 " test_clinic.py" ,
@@ -21,3 +18,8 @@ extend-exclude = [
2118 " test_pkg.py" ,
2219 " test_yield_from.py" ,
2320]
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 11target-version = " py310"
22fix = true
3+
4+ [lint ]
35select = [
46 " F" , # Enable all pyflakes rules
57 " UP" , # Enable all pyupgrade rules by default
You can’t perform that action at this time.
0 commit comments