mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-23 01:20:03 +02:00
updates ruff config
This commit is contained in:
parent
e57fe10c9e
commit
e576f6eb80
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user