forked from MariaDB/buildbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
28 lines (25 loc) · 1.06 KB
/
.flake8
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
[flake8]
show-source = yes
statistics = yes
count = yes
max-line-length = 100
# List of currently ignored PEP8 issues. Some of them definetely should be
# enabled in future.
#
# E122 continuation line missing indentation or outdented
# E123 closing bracket does not match indentation of opening bracket's line
# (pep8 seems to misdiagnose this)
# E126 continuation line over-indented for hanging indent
# E128 continuation line under-indented for visual indent
# E211 whitespace before '('
# E711 comparison to None should be 'if cond is None:'
# E712 comparison to False should be 'if cond is False:' or 'if not cond:'
# E721 do not compare types, use 'isinstance()'
# E741 ambiguous variable name
# W503 line break before binary operator
# W504 line break after binary operator
# E731 do not assign a lambda expression, use a def
# H302 only import modules (we also import classes)
# H301 one import per line (we rely on isort for that)
# H306 sorted import (we rely on isort for that)
ignore = E122,E123,E126,E128,E211,E711,E712,E721,E731,E741,W503,W504,H302,H306,H301,