forked from ESMValGroup/ESMValCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
49 lines (42 loc) · 1009 Bytes
/
setup.cfg
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
[tool:pytest]
addopts =
--mypy
--doctest-modules
--ignore=esmvalcore/cmor/tables/
--cov=esmvalcore
--cov-report=xml:test-reports/coverage.xml
--cov-report=html:test-reports/coverage_html
--html=test-reports/report.html
env =
MPLBACKEND = Agg
log_level = WARNING
markers =
installation: Test requires installation of dependencies
use_sample_data: Run functional tests using real data
[flake8]
exclude =
.eggs/
doc/conf.py
[coverage:run]
parallel = true
[coverage:report]
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
if TYPE_CHECKING:
[pydocstyle]
convention = numpy
[isort]
multi_line_output = 3
include_trailing_comma = true
[mypy]
# see mypy.readthedocs.io/en/stable/command_line.html
python_version = 3.12
ignore_missing_imports = True
files = esmvalcore, tests
[yapf]
based_on_style = pep8
# see https://github.com/google/yapf/issues/744
blank_line_before_nested_class_or_def = true
[codespell]
ignore-words-list = vas,hist