-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Travis CI: Detect Python syntax errors and undefined names #63
Conversation
Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3. There are 250 days until Python 2 end of life.
e60ce66
to
f835bc6
Compare
Can you properly rebase this commit? I'd love to get a clean merge. |
Ready for your review. |
So give pip all dependencies in a single command.
The merge commit I did at the end doesn't make for a clean application. They actually have to be rebased similar to what I did in #70 As for the additional commits, I'm planning on keeping the tests for Python 2.7 and 3.4 until breaking them becomes a problem. I'm going to rework travis.yaml as in #71 to still test 3.4 in xenial, but to also test the newer distribution. |
http://flake8.pycqa.org
Follow Python porting best practice: use feature detection instead of version detection
Use print() function in both Python 2 and Python 3