-
Notifications
You must be signed in to change notification settings - Fork 6
/
.flake8
25 lines (20 loc) · 869 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
[flake8]
ignore =
# Refers to the max-line length. Let's suppress the error and simply
# let black take care on how it wants to format the lines.
E501,
# Refers to "line break before binary operator".
# Similar to above, let black take care of the formatting.
W503,
# Refers to "Unnecessary dict call - rewrite as a literal".
C408
per-file-ignores =
# Ignore: "imported but unused" errors in __init__ files, as those imports are there
# to expose submodule functions so they can be imported directly from that module
zyte_common_items/__init__.py:F401,
# Ignore: * imports in these files
zyte_common_items/__init__.py:F403,
zyte_common_items/zyte_data_api.py:F403,
# Ignore: may be undefined, or defined from star imports
zyte_common_items/zyte_data_api.py:F405,
tests/test_page_inputs.py:F405,