forked from SciTools/iris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (58 loc) · 1 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
[build-system]
# Defined by PEP 518
requires = [
"setuptools>=64",
"setuptools_scm[toml]>=7.0",
"wheel",
]
# Defined by PEP 517
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "lib/iris/_version.py"
local_scheme = "dirty-tag"
version_scheme = "release-branch-semver"
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
(
/(
| sphinxext
| tools
| benchmarks\/\.asv.*
)/
| _ff_cross_references.py
| um_cf_map.py
)
'''
[tool.isort]
force_sort_within_sections = "True"
known_first_party = "iris"
line_length = 79
profile = "black"
extend_skip = [
"_build",
"generated",
"sphinxext",
"tools",
]
skip_gitignore = "True"
verbose = "False"
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = "lib/iris"
[tool.coverage.run]
branch = true
source = [
"lib/iris",
]
omit = [
"lib/iris/tests/*",
"lib/iris/etc/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:"
]