forked from pykeen/pykeen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
40 lines (40 loc) · 960 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
#########################
# Flake8 Configuration #
# (.flake8) #
#########################
[flake8]
ignore =
# Related to generating random numbers
S311
# Related to security for pickles
S403
# Don't complain about asserts
S101
# line break before binary operator
W503
# Missing docstring in __init__
D107
# FTP related stuff
S402
E203 # whitespace before ':'
B018 # bugbear doesn't allow multi-line comments as of https://github.com/PyCQA/flake8-bugbear/issues/195
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs,
data
max-line-length = 120
max-complexity = 20
import-order-style = pycharm
application-import-names =
pykeen
tests
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s