forked from ArduPilot/pymavlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
40 lines (40 loc) · 1.13 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
29
30
31
32
33
34
35
36
37
38
39
40
[flake8]
count = True
# 127 characters is the width of a GitHub editor
max-line-length = 127
statistics = True
# E401 multiple imports on one line
# E402 module level import not at top of file
# E502 the backslash is redundant between brackets
# E701 multiple statements on one line (colon)
# E703 statement ends with a semicolon
# E711 comparison to None should be 'if cond is not None:'
# E712 comparison to False should be 'if cond is False:' or 'if not cond:'
# E713 test for membership should be 'not in'
# E731 do not assign a lambda expression, use a def
# E999 SyntaxError: invalid syntax
# F401 'time' imported but unused
# F403 'from math import *' used; unable to detect undefined names
# F405 log may be undefined, or defined from star imports: math
# F811 redefinition of unused 'radians' from line 26
# F821 undefined name 'filename'
# F841 local variable 'e' is assigned to but never used
# W191 indentation contains tabs
select =
E401,
E402,
E502,
E701,
E703,
E711,
E712,
E713,
E731,
E999,
F401,
F403,
F405,
F811,
F821,
F841,
W191,