Skip to content

Switch Travis to use tox - #541

Merged
sigmavirus24 merged 1 commit into
PyCQA:masterfrom
sigmavirus24:use-tox-with-travis
Jan 25, 2017
Merged

Switch Travis to use tox#541
sigmavirus24 merged 1 commit into
PyCQA:masterfrom
sigmavirus24:use-tox-with-travis

Conversation

@sigmavirus24

@sigmavirus24 sigmavirus24 commented Jun 7, 2016

Copy link
Copy Markdown
Member

This reduces confusion about how travis runs tests versus a local
developer.

Note this also adds a Flake8 test env and runs it at the gate to catch other instances of #540

@sigmavirus24
sigmavirus24 force-pushed the use-tox-with-travis branch 2 times, most recently from be00648 to 287da10 Compare June 7, 2016 21:13
Comment thread tox.ini
deps =
flake8
commands =
flake8 pycodestyle.py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rationale behind running flake8 on pycodestyle? Not specifically disagreeing, just seems to not be part of the "Switch Travis to use tox" issue.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flake8, as I'm sure you know, includes pyflakes. When I was writing some of the more recent pull requests, I found several pyflakes lint problems (which I also submitted separate pull requests for). If pycodestyle runs flake8 on all submitted changes, then those shouldn't pop up again.

It's something of an extra check to ensure the quality of pycodestyle doesn't dip.

@sigmavirus24
sigmavirus24 force-pushed the use-tox-with-travis branch 6 times, most recently from 0eba374 to e0106dd Compare January 25, 2017 13:01
This reduces confusion about how travis runs tests versus a local
developer.

Unfortunately, pypy3 on Travis is stuck to a version that only
implements Python 3.2. There is no convenient work around for that
version so we remove it from our matrix until Travis updates their
images.
@sigmavirus24
sigmavirus24 merged commit 860369c into PyCQA:master Jan 25, 2017
@sigmavirus24
sigmavirus24 deleted the use-tox-with-travis branch January 25, 2017 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants