mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-01-19 02:12:25 +01:00
fixes pyproject.toml ruff configuration
This commit is contained in:
@@ -48,6 +48,11 @@ build-backend = "poetry.core.masonry.api"
|
|||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py310" # Always generate Python 3.10-compatible code
|
target-version = "py310" # Always generate Python 3.10-compatible code
|
||||||
|
extend-exclude = [
|
||||||
|
"docs", "frontend"
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
select = [
|
select = [
|
||||||
"ASYNC", # flake8-async
|
"ASYNC", # flake8-async
|
||||||
"C4", # flake8-comprehensions
|
"C4", # flake8-comprehensions
|
||||||
@@ -77,14 +82,9 @@ select = [
|
|||||||
"YTT", # flake8-2020
|
"YTT", # flake8-2020
|
||||||
"W", # pycodestyle warnings
|
"W", # pycodestyle warnings
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff.lint]
|
|
||||||
ignore = [
|
ignore = [
|
||||||
"PERF203", # try-except-in-loop
|
"PERF203", # try-except-in-loop
|
||||||
]
|
]
|
||||||
extend-exclude = [
|
|
||||||
"docs", "frontend"
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.ruff.lint.mccabe]
|
[tool.ruff.lint.mccabe]
|
||||||
max-complexity = 7
|
max-complexity = 7
|
||||||
|
|||||||
Reference in New Issue
Block a user