-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpyproject.toml
40 lines (36 loc) · 841 Bytes
/
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
# Reference https://github.com/pydata/xarray/blob/main/pyproject.toml
[build-system]
requires = [
"setuptools>=59",
"setuptools_scm[toml]>=6.4",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "999"
version_scheme = 'post-release'
# pytest
[tool.pytest.ini_options]
testpaths = [
"gnuplot_kernel/tests"
]
addopts = "--pyargs --cov --cov-report=xml --import-mode=importlib"
# Coverage.py
[tool.coverage.run]
branch = true
source = ["gnuplot_kernel"]
include = ["gnuplot_kernel/*"]
omit = [
"setup.py",
"gnuplot_kernel/__main__.py"
]
disable_warnings = ["include-ignored"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"def register_ipython_magics",
"def load_ipython_extension"
]
precision = 1