File tree 2 files changed +18
-5
lines changed
2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,14 @@ repos:
58
58
- -d
59
59
- ' {extends: relaxed, rules: {line-length: {max: 90}}}'
60
60
- repo : https://github.com/astral-sh/ruff-pre-commit
61
- rev : v0.1.6
61
+ rev : v0.1.7
62
62
hooks :
63
63
- id : ruff
64
+ - id : ruff-format
64
65
- repo : https://github.com/PyCQA/autoflake
65
66
rev : v2.2.1
66
67
hooks :
67
68
- id : autoflake
68
- - repo : https://github.com/psf/black
69
- rev : 23.11.0
70
- hooks :
71
- - id : black
72
69
- repo : https://github.com/codespell-project/codespell
73
70
rev : v2.2.6
74
71
hooks :
Original file line number Diff line number Diff line change @@ -109,6 +109,21 @@ extend-ignore = [
109
109
" ANN101" ,
110
110
" B904" ,
111
111
" PLW2901" ,
112
+ # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
113
+ " W191" ,
114
+ " E111" ,
115
+ " E114" ,
116
+ " E117" ,
117
+ " D206" ,
118
+ " D300" ,
119
+ " Q000" ,
120
+ " Q001" ,
121
+ " Q002" ,
122
+ " Q003" ,
123
+ " COM812" ,
124
+ " COM819" ,
125
+ " ISC001" ,
126
+ " ISC002" ,
112
127
]
113
128
line-length = 88
114
129
select = [
@@ -127,6 +142,7 @@ select = [
127
142
" PLW" ,
128
143
" S" ,
129
144
" U" ,
145
+ " UP" ,
130
146
" W" ,
131
147
" YTT" ,
132
148
]
You can’t perform that action at this time.
0 commit comments