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
@@ -77,8 +77,8 @@ format = { chain = [
77
77
"check:ruff",
78
78
"typecheck",
79
79
]}
80
-
"check:ruff" = "ruff ."
81
-
"fix:ruff" = "ruff --fix ."
80
+
"check:ruff" = "ruff check ."
81
+
"fix:ruff" = "ruff check --fix ."
82
82
83
83
typecheck = { chain = [
84
84
"typecheck:pyright",
@@ -162,6 +162,11 @@ reportPrivateUsage = false
162
162
line-length = 120
163
163
output-format = "grouped"
164
164
target-version = "py37"
165
+
166
+
[tool.ruff.format]
167
+
docstring-code-format = true
168
+
169
+
[tool.ruff.lint]
165
170
select = [
166
171
# isort
167
172
"I",
@@ -192,9 +197,6 @@ unfixable = [
192
197
]
193
198
ignore-init-module-imports = true
194
199
195
-
[tool.ruff.format]
196
-
docstring-code-format = true
197
-
198
200
[tool.ruff.lint.flake8-tidy-imports.banned-api]
199
201
"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