forked from lowatt/lowatt-enedis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
34 lines (34 loc) · 979 Bytes
/
.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
29
30
31
32
33
34
[flake8]
#format = pylint
ignore =
# attribute overriding builtin name
A003,
# [bugbear] Do not use mutable data structures for argument defaults (I choose by myself)
B006,
# closing bracket does not match indentation of opening bracket's line (disagree with emacs python mode)
E123,
# continuation line over-indented for hanging indent line (disagree with emacs python mode)
E126,
# missing whitespace around arithmetic operator (disagree when in parameter)
E226,
# [string-format] format string does contain unindexed parameters (don't care of py2.6)
P101,
# [string-format] other string does contain unindexed parameters
P103,
# [string-format] docstring does contain unindexed parameters
P102,
# Line break occurred before a binary operator (to keep operators aligned)
W503,
max-line-length = 100
exclude = doc/*,.tox/*,.eggs
rst-roles =
class,
envvar,
func,
meth,
ref,
rst-directives =
autoattribute,
autoclass,
autofunction,
automethod,