-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
56 lines (50 loc) · 1.32 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
[bumpversion]
files = README.rst
commit = False
tag = False
current_version = 0.2.2
[bumpversion:file:setup.cfg]
search = version='{current_version}'
replace = version='{new_version}'
[flake8]
max-line-length = 100
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
[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=chatydelivery
known_third_party=tests
not_skip = __init__.py
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[tool:pytest]
python_files = "molecule/**/tests.py" "molecule/**/test_*.py" "molecule/**/tests/test_*.py" "*test.py"
norecursedirs = "build" "docs" "docs[\/]_build" ".egg" "node_modules" "provision" "requirements"
addopts =
-s -v
-rxXs
--cov ansible-role-python
--cov-report html
--no-cov-on-fail
--capture=no
--ignore docs
--ignore .egg
--ignore .eggs
--ignore .mypy_cache
--ignore provision
--doctest-modules