File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
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.6
3+ rev : v0.4.4
44 hooks :
55 - id : ruff
66 - id : ruff-format
Original file line number Diff line number Diff line change 11[tool .ruff ]
2+ target-version = " py37" # Oldest supported, need to mind older manually
3+
4+ [tool .ruff .lint ]
25select = [" ALL" ]
36ignore = [
47 " ANN" , # Maybe sometime
58 " D203" , # Ping/pong with D211
69 " D213" , # Ping/pong with D212
710 " FA" , # See what happens with PEP 649 impl first
811 " UP014" , # Python >= 3.6
12+ " UP031" , # Python >= 3.6
913 " UP032" , # Python >= 3.6
1014 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
1115 # (keep order of ignores here same as ^there for maintainability)
@@ -27,9 +31,7 @@ ignore = [
2731unfixable = [
2832 " T20" ,
2933 " UP031" , # Fixes with Python >= 3.6 f-strings
30-
3134]
32- target-version = " py37" # Oldest supported, need to mind older manually
3335
34- [tool .ruff .per-file-ignores ]
36+ [tool .ruff .lint . per-file-ignores ]
3537"test_*.py" = [" S101" ]
Original file line number Diff line number Diff line change 33
44mypy == 1.0.1
55nox
6- ruff == 0.1.6
6+ ruff == 0.4.4
You can’t perform that action at this time.
0 commit comments