-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Several python code repo improvements
* Use of py.test instead of nosetests * Added several plugins commented for the future * Use xdist to run tests in parallel, decreased time to 66 secs from 137 * Setup of tox flake8 environment for code standard checks * Ignored a lot of errors/warnings to kickstart this. TODO: Remove them from setup.cfg * Coveralls moved to travis, as coverage should only be submited from CI servers * Deleted test.py file (no idea what it was doing there)
- Loading branch information
1 parent
1ac5a6f
commit 99590b6
Showing
8 changed files
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
include LICENSE LONG_DESCRIPTION.rst | ||
include LICENSE LONG_DESCRIPTION.rst setup.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
-r requirements.txt | ||
|
||
nose>=1.0.0,<2.0 | ||
flake8>=3.2.1,<4 | ||
flake8-import-order>=0.11 | ||
mock>=1.3.0,<2.0 | ||
coveralls>=0.5,<1.0 | ||
pep8-naming>=0.4.1 | ||
pytest>=3.0.5 | ||
pytest-cov>=2.4.0,<3 | ||
#pytest-mock>=1.5.0,<2 | ||
#pytest-timeout>=1.2.0,<2 | ||
pytest-xdist>=1.15.0,<2 | ||
responses>=0.5.0,<1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ msgpack-python>=0.4.6 | |
pycrypto>=2.6.1 | ||
requests>=2.7.0,<3 | ||
six>=1.9.0 | ||
websocket-client==0.39.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[coverage:run] | ||
branch=True | ||
[flake8] | ||
max-line-length = 120 | ||
ignore = E114,E121,E123,E126,E127,E128,E241,E226,E231,E251,E302,E305,E306,E402,E501,F401,F821,F841,I100,I101,I201,N802,W291,W293,W391,W503 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters