-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
83 lines (72 loc) · 1.68 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
81
82
83
[bumpversion]
files = package.json provision/generators/README.yaml
commit = False
tag = False
current_version = 0.0.0
[bumpversion:file:setup.cfg]
search = {current_version}
replace = {new_version}
[bumpversion:file:package.json]
search = {current_version}
replace = {new_version}
[bumpversion:file:provision/generators/README.yaml]
search = {current_version}
replace = {new_version}
[metadata]
description-file = README.md
[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.8
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 = ./
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 =
-s -v
--cov iot-air-pollution
--cov-report html
--no-cov-on-fail
--capture=no
--ignore setup.py
--ignore test_envs.py
--ignore docs
--ignore .egg
--ignore .eggs
--ignore .mypy_cache
--ignore provision
--ignore node_modules
--doctest-modules