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