forked from yasminakoor04/DIWAH
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (90 loc) · 2.31 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (90 loc) · 2.31 KB
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
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "diwah-dashboard"
version = "1.0.0"
description = "DIWAH Analytics Dashboard for wearable sensor validation"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Linnaeus University", email = "diwah@lnu.se"}
]
keywords = ["wearable", "sensors", "analytics", "dashboard", "accelerometer"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dependencies = [
"pandas>=2.0.0,<3.0.0",
"numpy>=1.24.0,<2.0.0",
"scipy>=1.10.0,<2.0.0",
"plotly>=5.18.0,<6.0.0",
"seaborn>=0.13.0,<1.0.0",
"matplotlib>=3.8.0,<4.0.0",
"dash>=2.14.0,<3.0.0",
"dash-bootstrap-components>=1.5.0,<2.0.0",
"influxdb-client>=1.38.0,<2.0.0",
"python-dotenv>=1.0.0,<2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0,<8.0.0",
"pytest-cov>=4.1.0,<5.0.0",
"mypy>=1.7.0,<2.0.0",
"pandas-stubs>=2.0.0",
"flake8>=6.1.0,<7.0.0",
"black>=23.12.0,<24.0.0",
"isort>=5.13.0,<6.0.0",
]
[project.scripts]
diwah-dashboard = "src.analytics_dashboard:run_server"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| archive
| __pycache__
)/
'''
[tool.isort]
profile = "black"
line_length = 100
skip = [".venv", "archive"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = true
exclude = ["archive", "tests"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.coverage.run]
source = ["src"]
omit = ["tests/*", "archive/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]