forked from has2k1/plotnine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (42 loc) · 947 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
41
42
43
44
45
46
47
48
# 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"
# pytest
[tool.pytest.ini_options]
testpaths = [
"tests"
]
doctest_optionflags = "ALLOW_UNICODE ALLOW_BYTES NORMALIZE_WHITESPACE"
addopts = "--pyargs --cov=plotnine --cov-report=xml --import-mode=importlib"
# Coverage.py
[tool.coverage.run]
branch = true
source = ["plotnine"]
include = [
"plotnine/*"
]
omit = [
"setup.py",
"plotnine/_version.py",
"tests/*",
]
disable_warnings = ["include-ignored"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"^def test_",
"if __name__ == .__main__.:",
"raise NotImplementedError('Not Implemented')",
]
precision = 1
[tool.setuptools_scm]
fallback_version = "999"
version_scheme = 'post-release'
[tool.isort]
profile = "black"
line_length = 79