forked from pypa/pipenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
65 lines (58 loc) · 1.61 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
[metadata]
long_description = file: README.md
license = MIT
license_file = LICENSE
[flake8]
exclude =
.git,__pycache__,docs/,pipenv/vendor/,pipenv/patched,get-pipenv.py,
.eggs/,setup.py,tests/fixtures/
ignore =
# The default ignore list:
E121,E123,E126,E226,E24,E704,
# Our additions:
# E127: continuation line over-indented for visual indent
# E128: continuation line under-indented for visual indent
# E129: visually indented line with same indent as next logical line
# E222: multiple spaces after operator
# E231: missing whitespace after ','
# E402: module level import not at top of file
# E501: line too long
# W503: line break before binary operator
E402,E501,W503,E203
[isort]
atomic=true
lines_after_imports=2
lines_between_types=1
multi_line_output=5
line_length=80
not_skip=__init__.py
known_first_party =
pipenv
tests
ignore_trailing_comma=true
[mypy]
ignore_missing_imports=true
follow_imports=skip
html_report=mypyhtml
python_version=3.6
mypy_path=typeshed/pyi:typeshed/imports
[tool:pytest]
addopts = -n auto -ra --cov-config=setup.cfg --cov --cov-report=xml:coverage.xml
testpaths = tests
; Add vendor and patched in addition to the default list of ignored dirs
norecursedirs = .* build dist CVS _darcs {arch} *.egg vendor patched news tasks docs tests/test_artifacts
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
[bdist_wheel]
universal = 1
[coverage:run]
branch = True
omit =
*/test_*.py
source = pipenv
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError
return NotImplemented