Skip to content

Commit

Permalink
Separate requirements-style from requirements-test
Browse files Browse the repository at this point in the history
Make the requirements-test.txt even smaller so that there is a minimal
set of dependencies installed while running the tests.
  • Loading branch information
suutari-ai committed Jan 26, 2018
1 parent 46b512e commit 7c05a3d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions requirements-style.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flake8
8 changes: 8 additions & 0 deletions requirements-style.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion requirements-test.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
flake8
freezegun
pytest
pytest-cov
Expand Down
4 changes: 0 additions & 4 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ commands = prequ check -v

[testenv:style]
basepython = python3.4
deps = -rrequirements-test.txt
deps = -rrequirements-style.txt
commands = flake8 {posargs}

0 comments on commit 7c05a3d

Please sign in to comment.