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 = [
|
ignore = [
|
||||||
"ANN101", # typing self
|
"ANN101", # typing self
|
||||||
"ANN401", # disallow Any typing
|
"ANN401", # disallow Any typing
|
||||||
"E501",
|
|
||||||
"F403",
|
"F403",
|
||||||
"F405",
|
"F405",
|
||||||
"E203",
|
"E203",
|
||||||
@ -77,6 +76,7 @@ ignore = [
|
|||||||
"D412", # No blank lines allowed between a section header and its content
|
"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
|
"D415", # First line should end with a period, question mark, or exclamation point
|
||||||
"UP007", # Use `X | Y` for type annotations
|
"UP007", # Use `X | Y` for type annotations
|
||||||
|
"PTH", # flake8-use-pathlib
|
||||||
"TRY", # Exception Handling AntiPatterns in Python
|
"TRY", # Exception Handling AntiPatterns in Python
|
||||||
"EM", # flake8 error messages
|
"EM", # flake8 error messages
|
||||||
"SLF", # flake8-self
|
"SLF", # flake8-self
|
||||||
@ -87,6 +87,9 @@ extend-exclude = [
|
|||||||
"docs", "frontend", "tests"
|
"docs", "frontend", "tests"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.ruff.lint.mccabe]
|
||||||
|
max-complexity = 7
|
||||||
|
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
include = ["src/pydase"]
|
include = ["src/pydase"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user