-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
65 lines (58 loc) · 1.12 KB
/
setup.cfg
File metadata and controls
65 lines (58 loc) · 1.12 KB
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
[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]
exclude=venv
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
[tool:pytest]
pytester_example_dir=tests/examples
norecursedirs=tests/examples