forked from Thriftpy/thriftpy2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
32 lines (30 loc) · 863 Bytes
/
setup.cfg
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
[metadata]
license_files = LICENSE
[wheel]
universal = 1
[flake8]
filename = *.py, *.pyx
max-line-length = 80
exclude =
setup.py,
.git,
__pycache__,
docs,
build,
dist,
.tox,
venv*
ignore =
# Ambiguous variable names
E741
# Line break before bin op - https://www.flake8rules.com/rules/W503.html
W503
# Cython requires special flags since it is not proper Python
# E211: missing whitespace before '('
# E225: missing whitespace around operator
# E226: missing whitespace around arithmetic operator
# E227: missing whitespace around bitwise or shift operator
# E251: Unexpected spaces around keyword / parameter equals (types in function definitions)
# E402: module level import not at top of file
# E999: Internal AST compilation error (flake8 specific)
per-file-ignores = *.pyx: E211,E225,E226,E227,E251,E402,E999