forked from snok/container-retention-policy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
32 lines (29 loc) · 720 Bytes
/
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
[tool:pytest]
addopts =
--cov=main
--cov-report term-missing
# forbid external i/o in tests
--allow-hosts=127.0.0.1
[flake8]
exclude = main_tests.py
max-line-length = 140
ignore = E203, D100, D101, D200, W503
enable-extensions = TC, TC1
pytest-mark-no-parentheses=true
pytest-fixture-no-parentheses=true
pytest-parametrize-names-type=csv
type-checking-pydantic-enabled=true
[mypy]
python_version = 3.10
show_error_codes = True
warn_unused_ignores = True
strict_optional = True
incremental = True
ignore_missing_imports = True
warn_redundant_casts = True
warn_unused_configs = True
warn_no_return = False
disallow_untyped_defs = True
local_partial_types = True
[mypy-main_tests.*]
ignore_errors = True