Skip to content

Commit 952cd2f

Browse files
committed
chore(ruff): update ruff v0.2 config
1 parent 0897c0a commit 952cd2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ test = "pytest tests/ --cov --cov-report=xml --cov-report=html"
109109
# ruff must before black
110110
lint = ["- ruff --fix .", "- black .", "- pyright .", "- codespell . -i 3 -w"]
111111
lint-check = [
112-
"ruff .",
112+
"ruff check .",
113113
"black --check .",
114114
"pyright .",
115115
"pyright --verifytypes fastapi_proxy_lib --ignoreexternal",
@@ -137,7 +137,7 @@ docs-build = "mkdocs build"
137137

138138

139139
# https://docs.astral.sh/ruff/rules/
140-
[tool.ruff]
140+
[tool.ruff.lint]
141141
select = [
142142
"E", # pycodestyle errors
143143
"W", # pycodestyle warnings
@@ -192,7 +192,7 @@ ignore = [
192192
]
193193

194194
# https://docs.astral.sh/ruff/settings/#pydocstyle
195-
[tool.ruff.pydocstyle]
195+
[tool.ruff.lint.pydocstyle]
196196
convention = "google"
197197

198198
# [tool.ruff.flake8-tidy-imports]

0 commit comments

Comments
 (0)