You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyproject.toml
+7-5
Original file line number
Diff line number
Diff line change
@@ -83,8 +83,8 @@ format = { chain = [
83
83
"check:ruff",
84
84
"typecheck",
85
85
]}
86
-
"check:ruff" = "ruff ."
87
-
"fix:ruff" = "ruff --fix ."
86
+
"check:ruff" = "ruff check ."
87
+
"fix:ruff" = "ruff check --fix ."
88
88
89
89
typecheck = { chain = [
90
90
"typecheck:pyright",
@@ -168,6 +168,11 @@ reportPrivateUsage = false
168
168
line-length = 120
169
169
output-format = "grouped"
170
170
target-version = "py37"
171
+
172
+
[tool.ruff.format]
173
+
docstring-code-format = true
174
+
175
+
[tool.ruff.lint]
171
176
select = [
172
177
# isort
173
178
"I",
@@ -198,9 +203,6 @@ unfixable = [
198
203
]
199
204
ignore-init-module-imports = true
200
205
201
-
[tool.ruff.format]
202
-
docstring-code-format = true
203
-
204
206
[tool.ruff.lint.flake8-tidy-imports.banned-api]
205
207
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"
0 commit comments