File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 21
21
rev : ' v0.1.9'
22
22
hooks :
23
23
- id : ruff
24
- args : ["--fix"]
24
+ args : ["--fix", "--show-fixes" ]
25
25
# https://github.com/python/black#version-control-integration
26
26
- repo : https://github.com/psf/black-pre-commit-mirror
27
27
rev : 23.12.1
Original file line number Diff line number Diff line change @@ -232,6 +232,8 @@ exclude = [
232
232
" _typed_ops.pyi" ,
233
233
]
234
234
target-version = " py39"
235
+
236
+ [tool .ruff .lint ]
235
237
# E402: module level import not at top of file
236
238
# E501: line too long - let black worry about that
237
239
# E731: do not assign a lambda expression, use a def
@@ -248,7 +250,7 @@ select = [
248
250
" UP" , # Pyupgrade
249
251
]
250
252
251
- [tool .ruff .isort ]
253
+ [tool .ruff .lint . isort ]
252
254
known-first-party = [" xarray" ]
253
255
254
256
[tool .pytest .ini_options ]
You can’t perform that action at this time.
0 commit comments