poetry: makes dev and docs groups optional, removes venv and venvPath from pyright config

This commit is contained in:
Mose Müller
2023-11-29 15:34:49 +01:00
parent 5a2371353a
commit 56ae9086b5
2 changed files with 9 additions and 6 deletions

View File

@ -19,6 +19,9 @@ confz = "^2.0.0"
pint = "^0.22"
pillow = "^10.0.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
types-toml = "^0.10.8.6"
pytest = "^7.4.0"
@ -30,6 +33,8 @@ pyright = "^1.1.323"
pytest-mock = "^3.11.1"
ruff = "^0.1.5"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.2"
@ -75,8 +80,6 @@ max-complexity = 7
[tool.pyright]
include = ["src/pydase"]
exclude = ["**/node_modules", "**/__pycache__", "docs", "frontend", "tests"]
venvPath = "."
venv = ".venv"
typeCheckingMode = "basic"
reportUnknownMemberType = true
reportUnknownParameterType = true