Setting up python project files using poetry. A basic environment is installed including dash for the app that will be implemented later. Also contains several dev tools, including pre-commit hooks. Co-authored-by: Tobias Quadfasel <tobias.loesche@studium.uni-hamburg.de> Reviewed-on: #1
53 lines
974 B
TOML
53 lines
974 B
TOML
[tool.poetry]
|
|
name = "avacon-app"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = ["Tobias Quadfasel <tobias.quadfasel@protonmail.com>"]
|
|
readme = "README.md"
|
|
packages = [{include = "app"}]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
|
|
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.numpydoc_validation]
|
|
checks = [
|
|
"all", # report on all checks, except the below
|
|
"EX01",
|
|
"SA01",
|
|
"ES01",
|
|
"GL01",
|
|
"RT01",
|
|
"RT02",
|
|
"GL08",
|
|
]
|
|
|
|
[tool.docformatter]
|
|
wrap-summaries = 100
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
plotly = "^5.23.0"
|
|
dash = "^2.17.1"
|
|
|
|
[tool.poetry.group.docs.dependencies]
|
|
mkdocs = "^1.6.0"
|
|
mkdocs-material = "^9.5.33"
|
|
numpydoc-validation = "^0.1.0"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
flake8 = "^7.1.1"
|
|
mypy = "^1.11.2"
|
|
isort = "^5.13.2"
|
|
python-dotenv = "^1.0.1"
|
|
black = "^24.8.0"
|
|
pre-commit = "^3.8.0"
|
|
pytest = "^8.3.2"
|
|
types-requests = "^2.32.0.20240712"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|