-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
94 lines (81 loc) · 1.75 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
# https://setuptools.pypa.io/en/latest/userguide/quickstart.html
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = false
fail-under = 100
exclude = ["setup.py", "docs", "build", "examples"]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
verbose = 2
quiet = false
whitelist-regex = []
color = true
[tool.pytest.ini_options]
addopts = "-v --cov --cov-report term-missing"
testpaths = [
"tests",
]
[tool.isort]
profile = "black"
[tool.ruff]
# See https://docs.astral.sh/ruff/rules/ for a list of rules.
# See https://docs.astral.sh/ruff/configuration/#using-pyprojecttoml for configuration documentation
select = ["E", "F", "I"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
namespaces = false
[project]
name = "vitrocal"
version = "0.0.1"
dependencies = [
"matplotlib",
"pandas",
"scikit-learn",
"numpy",
]
readme = "README.md"
[project.optional-dependencies]
tests = [
"pytest"
]
docs = [
"mkdocs-material",
"mkdocs"
]
[project.scripts]
vitrocal = "vitrocal.cli:app"
[tool.coverage.run]
omit = [
"tests/*",
]