-
Notifications
You must be signed in to change notification settings - Fork 100
/
.flake8
29 lines (27 loc) · 867 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
[flake8]
filename = *.py, *.pyx, *.pxd
exclude =
*.egg,
.git,
__pycache__,
build/,
cpp,
docs,
tests/cython/
# Cython Rules ignored:
# E999: invalid syntax (works for Python, not Cython)
# E225: Missing whitespace around operators (breaks cython casting syntax like <int>)
# E226: Missing whitespace around arithmetic operators (breaks cython pointer syntax like int*)
# E227: Missing whitespace around bitwise or shift operator (Can also break casting syntax)
# W503: line break before binary operator (breaks lines that start with a pointer)
# W504: line break after binary operator (breaks lines that end with a pointer)
extend-ignore =
# handled by black
E501, W503, E203
# imported but unused
F401
# redefinition of unused
F811
# E203 whitespace before ':'
# https://github.com/psf/black/issues/315
E203