forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
80 lines (72 loc) · 2.25 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[tool:pytest]
minversion = 3.0
testpaths = conda tests
norecursedirs = .* build/ conda/_vendor/* dist/ docs/ tests/data/*
addopts =
--ignore setup.py
--ignore conda/__main__.py
--ignore conda/_vendor
--ignore tests/conda_env/installers/test_pip.py
--ignore tests/conda_env/specs/test_base.py
--ignore tests/conda_env/specs/test_requirements.py
--ignore tests/conda_env/specs/test_yaml_file.py
--ignore tests/conda_env/support
--ignore tests/conda_env/utils/test_uploader.py
--ignore test_data
--tb native
--strict-markers
--durations 16
--xdoctest-modules
--xdoctest-style=google
--cov-report xml
--cov-append
--junitxml=test-report.xml
# --cov conda # passed in test runner scripts instead (avoid debugger)
doctest_optionflags =
NORMALIZE_WHITESPACE
IGNORE_EXCEPTION_DETAIL
ALLOW_UNICODE
ELLIPSIS
markers =
integration: integration tests that usually require an internet connect
slow: slow running tests
pythonpath =
# faking a test-plugin to test ImportError handling
tests/plugins/data/test-plugin
[pycodestyle]
max-line-length = 99
ignore = E126,E133,E226,E241,E242,E302,E704,E731,E722,W503
exclude = build/*,.tox/*,devenv*/*,env/*,test_data/*,tests/*,ve/*,utils/*,*/_vendor/*,conda/compat.py,conda/common/compat.py,conda_env/compat.py
[flake8]
max-line-length = 99
ignore = E126,E133,E226,E241,E242,E302,E704,E731,E722,W503,E402,W504,F821,E203
exclude = .asv*,build/*,.tox/*,dev*/*,env/*,test_data/*,tests/*,ve/*,utils/*,*/_vendor/*,conda/compat.py,conda/common/compat.py,conda_env/compat.py
[coverage:run]
# store relative paths in coverage information
relative_files = True
[coverage:report]
show_missing = True
sort = Miss
skip_covered = True
omit =
*/site-packages/*
*\site-packages\*
conda/_vendor/*
conda/console.py
conda/cli/activate.py
conda/cli/main_package.py
conda/exports.py
conda/gateways/connection/adapters/ftp.py
conda/gateways/connection/adapters/s3.py
conda_env/*
tests/*
utils/*
exclude_lines =
pragma: no cover
pragma: py$PYTHON_MAJOR_VERSION no cover
pragma: $TEST_PLATFORM no cover
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
def __repr__
\s*\.\.\.$