forked from microsoft/nlp-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
18 lines (16 loc) · 807 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[flake8]
# Intial set of rules
# Feel Free to add any new rule here with description of what it does.
# E203 Whitespace before ':'
# E266 Too many leading '#' for block comment
# E501 Line too long (82 > 79 characters)
# W503 Line break occurred before a binary operator
# F403 'from module import *' used; unable to detect undefined names
# F405 '<function>' may be undefined, or defined from star imports
# E402 module level import not at top of file
# E731 do not assign a lambda expression, use a def
# F821 undefined name 'get_ipython' --> from generated python files using nbconvert
# E722: do not use bare except
# E231: missing white space after "," --> black generates autoformat [,] which fails flake8
ignore = E203, E266, W503, F403, F405, E402, E731, F821, E722, E231
max-line-length = 88