-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
74 lines (72 loc) · 1.98 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
[flake8]
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
doc/source/conf.py,
# The old directory contains Flake8 2.0
old,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist
# no need to analyze setup.py
setup.py,
# tests need refactoring
*/test/*,
# forget about my dirty scripts
script/*,
ignore =
# 1 blank required before class docstring.
D203,
# Multi-line docstring summary should start at the first line.
D212,
# First line should not be the function’s “signature”.
D402,
# Section name should end with a newline.
D406,
# Missing dashed underline after section.
D407,
# Section underline should be in the line following the section’s name.
D408,
# Section underline should match the length of its name.
D409,
# Missing blank line after last section.
D413,
# closing bracket does not match indentation of opening bracket’s line.
E123,
# continuation line over-indented for hanging indent.
E126,
# line break before binary operator.
W503
max-line-length = 85
max-doc-length = 85
max-complexity = 10
doctests = True
statistics = True
count = True
[mypy]
# strict analysis
warn_unused_configs = True
disallow_subclassing_any = True
disallow_any_generics = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
[isort]
line_length = 85
indent = " "
force_single_line = True
order_by_type = True
import_heading_stdlib = Python Standard Library
import_heading_thirdparty = 3rd Party Library
import_heading_firstparty = Mersad Library