-
Notifications
You must be signed in to change notification settings - Fork 3
/
.flake8
38 lines (36 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
[flake8]
ignore =
# whitespace before ':'
E203,
# line too long
E501,
# Missing docstring in public module
D100,
# Missing docstring in public class
D101,
# Missing docstring in public method
D102,
# Missing docstring in public function
D103,
# Missing docstring in public package
D104,
# Missing docstring in magic method
D105,
# Missing docstring in __init__
D107,
# One-line docstring should fit on one line with quotes
D200,
# 1 blank line required between summary line and description
D205,
# Multi-line docstring closing quotes should be on a separate line
D400,
# First line should be in imperative mood
D401,
# First word of the first line should be properly capitalized
D403,
per-file-ignores =
# F401: 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
# F403: Ignore * imports in these files
zyte_parsers/__init__.py:F401,F403