-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
72 lines (63 loc) · 1.44 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
[bumpversion]
files = VERSION README.rst
commit = False
tag = False
current_version = 0.3.1
[bumpversion:file:setup.cfg]
search = version='{current_version}'
replace = version='{new_version}'
[metadata]
description-file = README.rst
[flake8]
max-complexity = 6
statistics = True
max-line-length = 100
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
doctests = True
inline-quotes = single
accept-encodings = utf-8
per-file-ignores =
tests/*.py: S101, Z432
hooks/*.py: T001
**/*.py: D100, D104, D106, D401, X100
[pycodestyle]
max-line-length = 100
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
[mypy]
python_version = 3.6
check_untyped_defs = True
ignore_errors = False
ignore_missing_imports = True
strict_optional = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
[isort]
line_length = 100
default_section = THIRDPARTY
atomic = true
known_standard_library = types
combine_as_imports = true
include_trailing_comma = true
known_first_party = common
known_third_party = tests
not_skip = __init__.py
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[wheel]
universal = 1
[aliases]
test = pytest
[tool:pytest]
norecursedirs = "build" "docs" "docs[\/]_build" ".egg"
addopts =
--cov common
--cov-report html
--ignore setup.py
--ignore test_envs.py
--ignore docs/
--ignore .eggs/
--ignore .pytest_cache/
--ignore .mypy_cache
--ignore .egg
-s -v
--doctest-modules