Repository: libcloud Updated Branches: refs/heads/trunk 823abd594 -> 67dcedf8b
Move test requirements into a file and pin pep8 dependency to a specific version. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/f08a2181 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f08a2181 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f08a2181 Branch: refs/heads/trunk Commit: f08a21819cb512eb94643a834af7a83f686ffd1e Parents: 823abd5 Author: Tomaz Muraus <[email protected]> Authored: Wed Feb 18 16:25:53 2015 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Wed Feb 18 16:26:31 2015 +0100 ---------------------------------------------------------------------- MANIFEST.in | 1 + requirements-tests.txt | 2 ++ tox.ini | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/f08a2181/MANIFEST.in ---------------------------------------------------------------------- diff --git a/MANIFEST.in b/MANIFEST.in index 8a9cbb3..4d6ee91 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,6 +4,7 @@ include example_*.py include CHANGES.rst include README.rst include tox.ini +include requirements-tests.txt include libcloud/data/pricing.json prune libcloud/test/secrets.py include demos/* http://git-wip-us.apache.org/repos/asf/libcloud/blob/f08a2181/requirements-tests.txt ---------------------------------------------------------------------- diff --git a/requirements-tests.txt b/requirements-tests.txt new file mode 100644 index 0000000..43a4894 --- /dev/null +++ b/requirements-tests.txt @@ -0,0 +1,2 @@ +pep8>=1.6.2,<1.7 +flake8 http://git-wip-us.apache.org/repos/asf/libcloud/blob/f08a2181/tox.ini ---------------------------------------------------------------------- diff --git a/tox.ini b/tox.ini index f13e909..d081603 100644 --- a/tox.ini +++ b/tox.ini @@ -65,7 +65,7 @@ depds = pylint commands = pylint --rcfile=.pylintrc -E libcloud/ [testenv:lint] -deps = flake8 +deps = -r{toxinidir}/requirements-tests.txt commands = flake8 --ignore=E402 --exclude="test" libcloud/ flake8 --ignore=E402 --max-line-length=160 libcloud/test/ flake8 --ignore=E402 demos/
