-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
82 lines (73 loc) · 1.42 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
[flake8]
ignore = W503
exclude = venv,.eggs
per-file-ignores =
__init__.py: E402,F401,F403
settings.py: E402,F401,F403,F405
test_*: CCR001,CFQ001
statistics = True
max-line-length = 120
max-complexity = 10
max-cognitive-complexity = 15
max-parameters-amount = 10
max-function-length = 100
inline-quotes = single
multiline-quotes = single
docstring-quotes = double
class_attributes_order =
docstring
pass
meta_class
nested_class
constant
field
outer_field
if
expression
__new__
__init__
__post_init__
magic_method
property_method
static_method
class_method
method
private_property_method
private_static_method
private_class_method
private_method
[isort]
skip = alembic,venv
indent = 4
line_length = 80
multi_line_output = 5
combine_as_imports = True
include_trailing_comma = True
[mypy]
incremental = False
strict_optional = True
strict_equality = True
disallow_any_generics = True
disallow_incomplete_defs = True
disallow_untyped_calls = True
disallow_untyped_defs = True
ignore_missing_imports = True
exclude = venv
[tool:pytest]
DJANGO_SETTINGS_MODULE = tests.settings
django_find_project = false
filterwarnings =
error
ignore::UserWarning:pytest.*:
ignore::ResourceWarning:redis.*:
junit_family = xunit1
[coverage:run]
source = arq_admin
dynamic_context = test_function
branch = True
omit =
arq_admin/settings.py
arq_admin/apps.py
[coverage:html]
directory = cov_html
show_contexts = True