From 7c05a3de854c9d8bdd34ae7fe9d2b63dd8247782 Mon Sep 17 00:00:00 2001 From: Tuomas Suutari Date: Fri, 26 Jan 2018 11:16:04 +0200 Subject: [PATCH] Separate requirements-style from requirements-test Make the requirements-test.txt even smaller so that there is a minimal set of dependencies installed while running the tests. --- requirements-style.in | 1 + requirements-style.txt | 8 ++++++++ requirements-test.in | 1 - requirements-test.txt | 4 ---- tox.ini | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 requirements-style.in create mode 100644 requirements-style.txt diff --git a/requirements-style.in b/requirements-style.in new file mode 100644 index 00000000..39304807 --- /dev/null +++ b/requirements-style.in @@ -0,0 +1 @@ +flake8 diff --git a/requirements-style.txt b/requirements-style.txt new file mode 100644 index 00000000..da70b1cf --- /dev/null +++ b/requirements-style.txt @@ -0,0 +1,8 @@ +# This file is autogenerated by Prequ. To update, run: +# +# prequ update +# +flake8==3.5.0 +mccabe==0.6.1 # via flake8 +pycodestyle==2.3.1 # via flake8 +pyflakes==1.6.0 # via flake8 diff --git a/requirements-test.in b/requirements-test.in index f68a6cd9..83dfad44 100644 --- a/requirements-test.in +++ b/requirements-test.in @@ -1,4 +1,3 @@ -flake8 freezegun pytest pytest-cov diff --git a/requirements-test.txt b/requirements-test.txt index 4b4c31a2..ecdb1dc0 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -6,14 +6,10 @@ attrs==17.4.0 # via pytest coverage==4.4.2 # via pytest-cov factory-boy==2.8.1 faker==0.8.10 # via factory-boy -flake8==3.5.0 freezegun==0.3.9 inflection==0.3.1 # via pytest-factoryboy -mccabe==0.6.1 # via flake8 pluggy==0.6.0 # via pytest py==1.5.2 # via pytest -pycodestyle==2.3.1 # via flake8 -pyflakes==1.6.0 # via flake8 pytest==3.3.2 pytest-cov==2.5.1 pytest-django==3.1.2 diff --git a/tox.ini b/tox.ini index 2fa29757..b4befcb6 100644 --- a/tox.ini +++ b/tox.ini @@ -19,5 +19,5 @@ commands = prequ check -v [testenv:style] basepython = python3.4 -deps = -rrequirements-test.txt +deps = -rrequirements-style.txt commands = flake8 {posargs}