mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-01-17 01:19:26 +01:00
updates ruff config
This commit is contained in:
@@ -59,7 +59,6 @@ select = ["ALL"]
|
||||
ignore = [
|
||||
"ANN101", # typing self
|
||||
"ANN401", # disallow Any typing
|
||||
"E501",
|
||||
"F403",
|
||||
"F405",
|
||||
"E203",
|
||||
@@ -77,6 +76,7 @@ ignore = [
|
||||
"D412", # No blank lines allowed between a section header and its content
|
||||
"D415", # First line should end with a period, question mark, or exclamation point
|
||||
"UP007", # Use `X | Y` for type annotations
|
||||
"PTH", # flake8-use-pathlib
|
||||
"TRY", # Exception Handling AntiPatterns in Python
|
||||
"EM", # flake8 error messages
|
||||
"SLF", # flake8-self
|
||||
@@ -87,6 +87,9 @@ extend-exclude = [
|
||||
"docs", "frontend", "tests"
|
||||
]
|
||||
|
||||
[tool.ruff.lint.mccabe]
|
||||
max-complexity = 7
|
||||
|
||||
|
||||
[tool.pyright]
|
||||
include = ["src/pydase"]
|
||||
|
||||
Reference in New Issue
Block a user