-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
56 lines (49 loc) · 1.27 KB
/
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
50
51
52
53
54
55
56
[build_sphinx]
source-dir = doc/
build-dir = doc/build
all_files = 1
builder = html
[tool:pytest]
addopts =
#--flake8
#--mypy
--doctest-modules
--ignore=setup.py
--ignore=bgcval2/Paths/
--ignore=bgcval2/custom_plots/
--ignore=bgcval2/bgcvaltools/prepareERSEMyear.py
--ignore=bgcval2/RemoteScripts/pml_makeCronList.py
--ignore=tests/integration/produce_dummy_data.py
--ignore=bgcval2/bgcval.py
--cov=bgcval2
--cov-report=xml:test-reports/coverage.xml
--cov-report=html:test-reports/coverage_html
--html=test-reports/report.html
env =
MPLBACKEND = Agg
flake8-ignore =
doc/conf.py ALL
log_level = WARNING
markers =
installation: Test requires installation of dependencies
use_sample_data: Run functional tests using real data
sequential: Run these tests sequentially, see https://github.com/ESMValGroup/ESMValCore/issues/644
[coverage:run]
parallel = true
[coverage:report]
exclude_lines =
if __name__ == .__main__.:
[pydocstyle]
convention = numpy
[isort]
multi_line_output = 3
include_trailing_comma = true
[mypy]
ignore_missing_imports = True
files = 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