forked from espressif/esptool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
28 lines (24 loc) · 1.04 KB
/
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
[flake8]
exclude = ecdsa,.git,__pycache__,.eggs,build
max-line-length = 160
ignore =
# multiple spaces before operator - used for visual indent of constants in some files
E221,
# various future imports we don't need: absolute_import, with_statement, unicode_literals, generator_stop
# nested_scopes, generators, annotations
#
# See https://pypi.org/project/flake8-future-import/ for list
FI11, FI12, FI14, FI15, FI16, FI17, FI18,
# future imports we do need: division, print_function
FI50, FI53,
per-file-ignores =
# tests often manipulate sys.path before importing the main tools, so ignore import order violations
test/*.py: E402,
# multiple spaces after ',' - used for visual layout of eFuse data
espressif/efuse/*/mem_definition.py: E241,
espressif/efuse/*/fields.py: E241,
# don't require future imports or check for unused imports in __init__.py files
__init__.py: FI10, FI13, F401
test/sitecustomize.py: FI10, FI13
docs/conf_common.py: FI10, FI13, F405
docs/en/conf.py: FI10, FI13