-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
63 lines (52 loc) · 1.33 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
[bdist_wheel]
universal = 1
[metadata]
license_file = LICENSE
[global]
## Building binary packages (e.g. eggs, wheels) from non-engraved
# sources might not work - a *setuptools* check prevents that,
# and setting this option to `true` relaxes that check.
polyversion_check_bdist_enabled = true
[flake8]
exclude = docs,.tox,.venv,build,dist,doc,.eggs,git/ext,$*,~*
pvcmd/polyvers/_vendor,
ignore = E265,W293,E266,E731
max-line-length = 100
max-complexity = 12
doctests = true
[tool:pytest]
addopts = --doctest-modules
--ignore pvcmd/polyvers/_vendor
--doctest-glob=*.rst
doctest_optionflags = NORMALIZE_WHITESPACE
ELLIPSIS
## See: https://pytest-cov.readthedocs.io/en/latest/config.html
[coverage:run]
omit = pvcmd/polyvers/_vendor/*
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError
if 0:
if False:
except ImportError
[mypy]
## Sample:
# mypy -m polyvers.engrave
#
ignore_missing_imports = True
follow_imports = silent
warn_no_return = False
[pylint]
## Sample:
# pylint --rcfile=setup.cfg polyvers
#
disable = C0103,
# Missing module docstring
C0111,
ignore = _vendor
#ignore-docstrings = yes
output-format = colorized
[aliases]
test = pytest
# Define setup.py command aliases here