mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-23 20:47:59 +02:00
update python deps
This commit is contained in:
@ -36,6 +36,7 @@ flake8-eradicate = "^1.4.0"
|
||||
matplotlib = "^3.7.2"
|
||||
pyright = "^1.1.323"
|
||||
pytest-mock = "^3.11.1"
|
||||
ruff = "^0.1.5"
|
||||
|
||||
|
||||
[tool.poetry.group.docs.dependencies]
|
||||
@ -48,6 +49,45 @@ pymdown-extensions = "^10.1"
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.ruff]
|
||||
# unfixable = [
|
||||
# "ERA001", # Disable fix for commented out code
|
||||
# ]
|
||||
target-version = "py310" # Always generate Python 3.10-compatible code
|
||||
line-length = 88
|
||||
select = ["ALL"]
|
||||
ignore = [
|
||||
"ANN101", # typing self
|
||||
"ANN401", # disallow Any typing
|
||||
"E501",
|
||||
"F403",
|
||||
"F405",
|
||||
"E203",
|
||||
"COM812", # Missing trailing comma rule; defer to Black for formatting
|
||||
"B904", # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
||||
"D", # pydocstyle
|
||||
"D100", # Missing docstring in public module
|
||||
"D202", # No blank lines allowed after function docstring
|
||||
"D203", # 1 blank line required before class docstring
|
||||
"D212", # Multi-line docstring summary should start at the first line
|
||||
"D400", # First line should end with a period
|
||||
"D401", # First line of docstring should be in imperative mood
|
||||
"D406", # Section name should end with a newline
|
||||
"D407", # Missing dashed underline after section
|
||||
"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
|
||||
"TRY", # Exception Handling AntiPatterns in Python
|
||||
"EM", # flake8 error messages
|
||||
"SLF", # flake8-self
|
||||
# "FBT", # Boolean trap detection
|
||||
# "A", # Check for python builtins being used as variables or parameters
|
||||
]
|
||||
extend-exclude = [
|
||||
"docs", "frontend", "tests"
|
||||
]
|
||||
|
||||
|
||||
[tool.pyright]
|
||||
include = ["src/pydase"]
|
||||
exclude = ["**/node_modules", "**/__pycache__", "docs", "frontend", "tests"]
|
||||
|
Reference in New Issue
Block a user