forked from devilbox/vhost-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
66 lines (56 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
[metadata]
description-file = README.md
[bdist_wheel]
universal=1
[pydocstyle]
convention = google
[pycodestyle]
max-line-length = 100
[flake8]
max-line-length = 100
[pylint]
# useless-object-inheritance: don't lint useless-object-inheritance to stary Python2/3 compatible
# bad-continuation: let Python Black take care of this
# unidiomatic-typecheck: Need to check if int or bool and this doesnt work with isinstance()
disable = useless-object-inheritance, bad-continuation, unidiomatic-typecheck, import-error
module-rgx=[-a-z]+
max-branches = 15
max-args = 9
max-locals = 21
max-module-lines = 2000
ignore-imports=yes
[mypy]
# Display
show_error_context = True
show_column_numbers = True
show_error_codes = True
pretty = True
color_output = True
error_summary = True
# Meta
warn_unused_configs = True
incremental = False
show_traceback = True
# Mode
strict_optional = True
show_none_errors = True
# Allow
disallow_any_expr = False
disallow_any_explicit = False
disallow_any_decorated = False
# Deny
disallow_any_unimported = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_return_any = True
warn_unreachable = True
allow_untyped_globals = False
allow_redefinition = False