forked from openvinotoolkit/open_model_zoo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
40 lines (39 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
29
30
31
32
33
34
35
36
37
38
39
40
[flake8]
exclude=
# generic excludes
.git,__pycache__,
# generated files
demos/speech_recognition_deepspeech_demo/python/ctcdecode-numpy/ctcdecode_numpy/impl.py,
models/public/mozilla-deepspeech-0.8.2/mds_convert_utils/memmapped_file_system_pb2.py,
select=
# flake8-comprehensions issues
C4,
# indentation problems
E10,E11,
# closing bracket does not match indentation of opening brackets line
E123,
# whitespace before '('
E211,
# missing whitespace after ',', ';', or ':'
E231,
# missing whitespace after keyword
E275,
# expected 1 blank line, found 0
E301,
# blank lines found after function decorator
E304,
# the backslash is redundant between brackets
E502,
# statement style issues
E7,
# parse errors
E9,
# pyflakes checks
F4,F5,F6,F7,F8,F9,
# deprecation warnings
W6,
ignore=
# multiple statements on one line (colon/def)
# ignored because putting a statement after a colon is harmless and
# sometimes results in more compact code
E701,E704,