We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1580c2c commit 33d51c8Copy full SHA for 33d51c8
.pre-commit-config.yaml
@@ -21,7 +21,7 @@ repos:
21
rev: 'v0.1.9'
22
hooks:
23
- id: ruff
24
- args: ["--fix"]
+ args: ["--fix", "--show-fixes"]
25
# https://github.com/python/black#version-control-integration
26
- repo: https://github.com/psf/black-pre-commit-mirror
27
rev: 23.12.1
pyproject.toml
@@ -232,6 +232,8 @@ exclude = [
232
"_typed_ops.pyi",
233
]
234
target-version = "py39"
235
+
236
+[tool.ruff.lint]
237
# E402: module level import not at top of file
238
# E501: line too long - let black worry about that
239
# E731: do not assign a lambda expression, use a def
@@ -248,7 +250,7 @@ select = [
248
250
"UP", # Pyupgrade
249
251
252
-[tool.ruff.isort]
253
+[tool.ruff.lint.isort]
254
known-first-party = ["xarray"]
255
256
[tool.pytest.ini_options]
0 commit comments