-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
65 lines (58 loc) · 1.08 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
[coverage:report]
exclude_lines =
pragma: no cover
@abstract
pass
[ ]*import[ ]
[ ]*from[ ].*[ ]import[ ]
sort = -Cover
[coverage:run]
omit =
*/__init__.py
tests/*
*/config.py
*/main.py
*/wsgi.py
branch = True
[tool:pytest]
addopts = -vv --cov=. --cov-branch --cov-report term-missing
mock_use_standalone_module = true
python_files = test_*.py
[flake8]
max-line-length = 120
exclude=
.git,
__pycache__,
__init__.py,
*/site-packages/**,
bin/**,
**/generated/**,
per-file-ignores =
*: N802,
tests/**: S101,S105,S106,S110,F405,S311,B008
[mypy]
python_version = 3.10
warn_return_any = True
warn_unused_configs = True
follow_imports = silent
ignore_missing_imports = False
namespace_packages = True
mypy_path =
url_counter,
exclude = (?x)(
generated/*
| tests/*
)
[mypy-url_counter.*]
warn_return_any = False
[mypy-tests.*]
ignore_errors = True
[isort]
profile = black
skip_gitignore=True
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=120
known_third_party =pytest = generated