forked from hhursev/recipe-scrapers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
44 lines (40 loc) · 770 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[flake8]
# Error codes we ignore:
#
# Ignored because Black handles code formatting:
# E203: Whitespace before ':'
# E501: Line too long (82 > 79 characters)
# W503: Line break occurred before a binary operator
#
# Other ignored rules:
# N818: Exception names should end in 'Error'
ignore =
E203,
E501,
W503,
N818
# To match Black's default
max-line-length = 88
# McCabe complexity checker
# Standard is 10, we should aim to improve
max-complexity = 21
# Selected error codes:
# B: bugbear checks
# C: complexity checks
# E: pycodestyle errors
# F: pyflakes
# N: naming checks (from pep8-naming)
# W: pycodestyle warnings
# T4: mypy type checks
select =
B,
C,
E,
F,
N,
W,
T4
exclude =
./.tox/
./.venv/
./venv/