-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
99 lines (82 loc) · 1.93 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
92
93
94
95
96
97
98
99
[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bplog"
version = "0.0.1"
description = "Simple cli data logger for blood pressure data"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
keywords = ["data logger", "blood pressure"]
authors = [{ email = "narfelchen@gmail.com" }, { name = "Narfel" }]
maintainers = [{ name = "Narfel", email = "narfelchen@gmail.com" }]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Repository" = "https://github.com/narfel/bplog"
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests"]
[project.optional-dependencies]
test = ["matplotlib", "prettytables"]
[project.scripts]
bplog = "src.bplog.app:main"
[tool.pytest.ini_options]
filterwarnings = ["error", "ignore::UserWarning"]
addopts = "--cov"
testpaths = ["tests/"]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = ["matplotlib", "matplotlib.lines", "prettytable"]
ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
min_version = 4.0
env_list =
py311
py310
py39
py38
mypy
pylint
skipsdist = True
[gh-actions]
python =
3.8: py38, mypy, pylint
3.9: py39
3.10: py310
3.11: py311
[testenv]
deps =
matplotlib
prettytable
pytest
pytest-cov
mypy
pylint
commands = pytest src
[testenv:mypy]
deps = mypy
commands = mypy src
[testenv:pylint]
deps = pylint
commands = pylint src
"""
[tool.black]
line-length = 88
[tool.pylint.'MESSAGES CONTROL']
disable = [
"unused-argument",
"import-outside-toplevel",
"missing-function-docstring",
"missing-class-docstring",
"no-else-return",
]