File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,14 @@ repos:
5858 - -d
5959 - ' {extends: relaxed, rules: {line-length: {max: 90}}}'
6060 - repo : https://github.com/astral-sh/ruff-pre-commit
61- rev : v0.1.6
61+ rev : v0.1.7
6262 hooks :
6363 - id : ruff
64+ - id : ruff-format
6465 - repo : https://github.com/PyCQA/autoflake
6566 rev : v2.2.1
6667 hooks :
6768 - id : autoflake
68- - repo : https://github.com/psf/black
69- rev : 23.11.0
70- hooks :
71- - id : black
7269 - repo : https://github.com/codespell-project/codespell
7370 rev : v2.2.6
7471 hooks :
Original file line number Diff line number Diff line change @@ -109,6 +109,21 @@ extend-ignore = [
109109 " ANN101" ,
110110 " B904" ,
111111 " 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" ,
112127]
113128line-length = 88
114129select = [
@@ -127,6 +142,7 @@ select = [
127142 " PLW" ,
128143 " S" ,
129144 " U" ,
145+ " UP" ,
130146 " W" ,
131147 " YTT" ,
132148]
You can’t perform that action at this time.
0 commit comments