/
pyproject.toml
91 lines (80 loc) · 1.65 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
requires-python = ">=3.10"
[tool.poetry]
name = "plotly-dash-app"
version = "0.1.0"
description = ""
authors = ["Theodros Zelleke <it@tzelleke.com>"]
[tool.poetry.dependencies]
dash = "^2.9.3"
dash-ag-grid = "^2.0.0"
dash-bootstrap-components = "^1.4.1"
dash-bootstrap-templates = "^1.0.8"
gunicorn = "^20.1.0"
numpy = "^1.24.2"
pandas = "^2.0.0"
plotly = "^5.14.1"
pydantic = "^1.10.7"
pydash = "^7.0.1"
pyorbital = "^1.7.3"
python = "^3.10"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
dash = { extras = ["testing"], version = "^2.9.3" }
pytest = "^7.3.1"
pytest-cov = "^4.0.0"
pytest-mock = "^3.10.0"
ruff = "^0.0.265"
[tool.pytest.ini_options]
addopts = [
"--cov=app",
"--no-cov-on-fail",
"--import-mode=importlib",
"-ra",
"-q",
]
cache_dir = "~/pytest/.cache"
minversion = "6.0"
pythonpath = "."
testpaths = ["tests"]
[tool.coverage.run]
branch = true
data_file = "~/pytest/.coverage"
omit = [
"app/__init__.py",
"app/main.py",
"*/layout.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
precision = 1
skip_covered = true
show_missing = true
[tool.black]
extend-exclude = '''
/(
\.idea
)/
'''
include = '\.pyi?$'
line-length = 88
target-version = ["py310"]
[tool.ruff]
cache-dir = "~/.cache/ruff"
extend-exclude = []
extend-select = ["I"]
line-length = 88
target-version = "py310"
[tool.ruff.isort]
force-sort-within-sections = true
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]