-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
39 lines (31 loc) · 874 Bytes
/
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
[flake8]
# Rules ignored:
# ==============
# E721: Not a really useful rule forcing the use of instanceof() where we just want
# exact typing in our use cases
extend-ignore = E721
exclude =
# Pretty standard ignores
.git,
__pycache__,
# Build output artifacts
middleware/build/build,
# We don't want to mess with third party stuff
middleware/third-party,
# Tradeoff between recommended 79 and maximum accepted of 100 chars
max-line-length = 90
# Better be explicit (this is the default)
indent-size = 4
# Ignore unused imports in __init__.py files
per-file-ignores = __init__.py:F401
show-source = False
statistics = True
[yapf]
based_on_style = pep8
spaces_before_comment = 1
split_before_logical_operator = true
# AKA max line length
column_limit = 90
continuation_align_style = space
indent_width = 4
indent_blank_lines = False