-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
48 lines (43 loc) · 1.14 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
[pycodestyle]
count = true
max_line_length = 100
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,venv
[flake8]
ignore = E722,W504,F401,E265,E266,E129,E251
max-line-length = 100
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,venv,.mypy_cache
[isort]
line_length = 100
[yapf]
based_on_style = google
ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT = true
ALLOW_MULTILINE_LAMBDAS = true
COALESCE_BRACKETS = true
COLUMN_LIMIT = 80
JOIN_MULTIPLE_LINES = true
SPACES_BEFORE_COMMENT = 2
SPLIT_BEFORE_DICT_SET_GENERATOR = true
SPLIT_BEFORE_DOT = true
SPLIT_COMPLEX_COMPREHENSION = true
[mypy]
ignore_missing_imports = true
follow_imports = normal
show_column_numbers = true
warn_incomplete_stub = true
incremental = false
allow_redefinition = false
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = false
warn_unreachable = true
strict_optional = false
check_untyped_defs = true
disallow_incomplete_defs = false
disallow_untyped_defs = false
no_implicit_optional = true
# ming MappedClass not typed:
# disallow_subclassing_any = true
# Flask and Ming not typed:
# disallow_untyped_calls = true
# pytest not typed:
# disallow_untyped_decorators = true