-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
78 lines (68 loc) · 1.84 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
[flake8]
max-line-length = 88
exclude =
.git
__pycache__
.venv
.eggs
*.egg
kamui/dataproviders/database/stream/__init__.py
kamui/dataproviders/database/project/__init__.py
kamui/dataproviders/database/project/__init__.py
kamui/dataproviders/database/project/__init__.py
kamui/dataproviders/rest/stream/__init__.py
kamui/dataproviders/rest/stream/__init__.py
kamui/dataproviders/rest/topic/__init__.py
kamui/dataproviders/rest/topic/__init__.py
kamui/dataproviders/rest/topic/__init__.py
kamui/core/use_case/stream/__init__.py
kamui/core/use_case/stream/__init__.py
kamui/core/use_case/stream/__init__.py
kamui/core/use_case/project/__init__.py
kamui/core/use_case/project/__init__.py
kamui/core/use_case/project/__init__.py
kamui/core/use_case/topic/__init__.py
kamui/core/use_case/topic/__init__.py
[tool:pytest]
norecursedirs = *.egg .eggs dist build docs .tox .git __pycache__
testpaths = tests
addopts =
--cov=kamui
--cov-report=html
--cov-report=xml
console_output_style = progress
[coverage:run]
branch = True
omit =
kamui/application.py
kamui/boot.py
kamui/core/entity/*
[coverage:report]
exclude_lines =
@abstractmethod
[coverage:html]
directory = kamui_coverage
title = Kamui Coverage Report
[mypy]
# suppress errors about unsatisfied imports
ignore_missing_imports=True
# Custom plugins
plugins =
returns.contrib.mypy.returns_plugin,
pydantic.mypy
# be strict
warn_return_any = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
disallow_untyped_defs = True
check_untyped_defs = True
# Temporally disabled
disallow_untyped_calls = False
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True