@@ -146,18 +146,18 @@ dependencies = [
146
146
" black[jupyter]==22.10.0" ,
147
147
" mdformat>0.7" ,
148
148
" mdformat-gfm>=0.3.5" ,
149
- " ruff==0.0.189 "
149
+ " ruff==0.0.237 "
150
150
]
151
151
detached = true
152
152
[tool .hatch .envs .lint .scripts ]
153
153
style = [
154
- " ruff {args:notebook tests ui-tests }" ,
154
+ " ruff {args:. }" ,
155
155
" black --check --diff {args:.}" ,
156
156
" mdformat --check {args:CHANGELOG.md}"
157
157
]
158
158
fmt = [
159
159
" black {args:.}" ,
160
- " ruff --fix {args:notebook }" ,
160
+ " ruff --fix {args:. }" ,
161
161
" mdformat {args:CHANGELOG.md}"
162
162
]
163
163
@@ -252,8 +252,9 @@ skip-string-normalization = true
252
252
target-version = " py37"
253
253
line-length = 100
254
254
select = [
255
- " A" , " B" , " C" , " E" , " F" , " FBT" , " I" , " N" , " Q" , " RUF" , " S" , " T" ,
256
- " UP" , " W" , " YTT" ,
255
+ " A" , " B" , " C" , " DTZ" , " E" , " EM" , " F" , " FBT" , " I" , " ICN" , " ISC" , " N" ,
256
+ " PLC" , " PLE" , " PLR" , " PLW" , " Q" , " RUF" , " S" , " SIM" , " T" , " TID" , " UP" ,
257
+ " W" , " YTT" ,
257
258
]
258
259
ignore = [
259
260
# Q000 Single quotes found but double quotes preferred
@@ -267,7 +268,8 @@ ignore = [
267
268
[tool .ruff .per-file-ignores ]
268
269
# S101 Use of `assert` detected
269
270
# F841 Local variable `foo` is assigned to but never used
270
- "tests/*" = [" S101" , " F841" ]
271
+ # PLR2004 Magic value used in comparison
272
+ "tests/*" = [" S101" , " F841" , " PLR2004" ]
271
273
272
274
[tool .interrogate ]
273
275
ignore-init-module =true
0 commit comments