-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
48 lines (42 loc) · 1.11 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
[flake8]
filename=*.py,./devops
max-line-length = 88
select = C,E,F,W,B,T,B950
ignore = E203, E501, W503
[mypy]
files=**/*.py,devops
mypy_path=typeshed/
python_version=3.11
platform=linux
plugins = pydantic.mypy
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_decorators=True
disallow_untyped_defs = True
follow_imports = silent
no_implicit_reexport = True
show_error_codes = True
warn_redundant_casts = True
warn_unused_ignores = True
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True
[mypy-colorful.*,environs.*,docker.*,kubernetes.*,git.*,pytest.*]
ignore_missing_imports=True
[tool:pytest]
env_override_existing_values = 1
env_files = ./tests/.env
addopts = --strict-markers
markers =
k8s: mark a test as requiring Kubernetes
docker: mark a test as requiring a Docker registry
vault: mark a test as requiring Vault
[tool:isort]
multi_line_output=3
include_trailing_comma=true
force_grid_wrap=0
use_parentheses=true
line_length=88
known_third_party = colorful,environs,hvac,kubernetes,pytest,recommonmark,sphinx,yaml