Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

flake8 the project on test #13

Merged
merged 1 commit into from
Dec 4, 2015
Merged

flake8 the project on test #13

merged 1 commit into from
Dec 4, 2015

Conversation

d3ming
Copy link

@d3ming d3ming commented Dec 3, 2015

  • make test and tox will now run flake8 first
  • make changes to the project so flake8 will pass

Closes #2

@tmillner @bitglue

@d3ming
Copy link
Author

d3ming commented Dec 3, 2015

The reason coverage decreased was because I decided to not exclude webdriver.py from coverage

@@ -2,6 +2,9 @@ machine:
python:
version: 2.7.6

dependencies:
override:
- pip install tox
Copy link

Choose a reason for hiding this comment

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

tox is already declared in setup.py as a thing required by the tests. If you run the tests as python setup.py test (which CircleCI does by default I bet, if you don't override it below), then your test dependencies will get installed automatically.

Copy link
Author

Choose a reason for hiding this comment

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

I was getting some whacky behavior where it wasn't respecting my tox.ini until I specifically overrode the dependency behavior.

- `make test` and `tox` will now run flake8 first
- make changes to the project so flake8 will pass

Closes #2
d3ming added a commit that referenced this pull request Dec 4, 2015
flake8 the project on test
@d3ming d3ming merged commit b945152 into makethunder:master Dec 4, 2015
@d3ming d3ming deleted the flake8 branch December 4, 2015 00:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants