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-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,8 @@ format = { chain = [
79
79
"check:ruff",
80
80
"typecheck",
81
81
]}
82
-
"check:ruff" = "ruff ."
83
-
"fix:ruff" = "ruff --fix ."
82
+
"check:ruff" = "ruff check ."
83
+
"fix:ruff" = "ruff check --fix ."
84
84
85
85
typecheck = { chain = [
86
86
"typecheck:pyright",
@@ -164,6 +164,11 @@ reportPrivateUsage = false
164
164
line-length = 120
165
165
output-format = "grouped"
166
166
target-version = "py37"
167
+
168
+
[tool.ruff.format]
169
+
docstring-code-format = true
170
+
171
+
[tool.ruff.lint]
167
172
select = [
168
173
# isort
169
174
"I",
@@ -194,9 +199,6 @@ unfixable = [
194
199
]
195
200
ignore-init-module-imports = true
196
201
197
-
[tool.ruff.format]
198
-
docstring-code-format = true
199
-
200
202
[tool.ruff.lint.flake8-tidy-imports.banned-api]
201
203
"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