Skip to content

Commit beff154

Browse files
Make flake work against cython files again
1 parent fc03492 commit beff154

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ F8_SETUP=$?
2020
flake8 gssapi
2121
F8_PY=$?
2222

23-
flake8 gssapi --filename='*.pyx,*.pxd' --ignore=E225,E226,E227,E901,E402
23+
# Cython requires special flags since it is not proper Python
24+
# E225: missing whitespace around operator
25+
# E226: missing whitespace around arithmetic operator
26+
# E227: missing whitespace around bitwise or shift operator
27+
# E402: module level import not at top of file
28+
# E901: SyntaxError or IndentationError
29+
# E999: Internal AST compilation error (flake8 specific)
30+
flake8 gssapi --filename='*.pyx,*.pxd' --ignore=E225,E226,E227,E402,E901,E999
2431
F8_MAIN_CYTHON=$?
2532

2633
python setup.py nosetests --verbosity=3

0 commit comments

Comments
 (0)