mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
Add settings and extension recommendations (#139)
- Added recommended settings for the Pylance and Pyright extensions - Enabled pytest and debugging support in configuration - Reformatted code with Prettier --------- Co-authored-by: Chris <git@nootch.de>
This commit is contained in:
@@ -33,6 +33,11 @@ include = ["akkudoktoreos", "akkudoktoreosserver", ]
|
||||
[tool.setuptools.package-data]
|
||||
akkudoktoreosserver = ["data/*.npz", ]
|
||||
|
||||
[tool.pyright]
|
||||
# used in Pylance extension for language server
|
||||
# type check is done by mypy, disable to avoid unwanted errors
|
||||
typeCheckingMode = "off"
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
|
||||
@@ -46,6 +51,5 @@ ignore = [
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
minversion = "8.3.3"
|
||||
addopts = "--cov=src"
|
||||
pythonpath = [ "src", ]
|
||||
testpaths = [ "tests", ]
|
||||
|
Reference in New Issue
Block a user