forked from City-of-Helsinki/parkkihubi
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request City-of-Helsinki#47 from suutari-ai/separate-requi…
…rements Update requirements and split requirements-dev
- Loading branch information
Showing
10 changed files
with
102 additions
and
64 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,17 +1,8 @@ | ||
autoflake | ||
autopep8 | ||
django-extensions | ||
flake8 | ||
freezegun | ||
ipython | ||
isort | ||
pydocstyle | ||
pytest | ||
pytest-cov | ||
pytest-django | ||
pytest-factoryboy | ||
tox | ||
werkzeug | ||
|
||
# Factory Boy 2.9.0 to 2.9.2 don't seem to work. See | ||
# https://github.com/pytest-dev/pytest-factoryboy/issues/47 | ||
factory-boy!=2.9.0,!=2.9.1,!=2.9.2 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
flake8 |
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,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 |
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,9 @@ | ||
freezegun | ||
pytest | ||
pytest-cov | ||
pytest-django | ||
pytest-factoryboy | ||
|
||
# Factory Boy 2.9.0 to 2.9.2 don't seem to work. See | ||
# https://github.com/pytest-dev/pytest-factoryboy/issues/47 | ||
factory-boy!=2.9.0,!=2.9.1,!=2.9.2 |
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,19 @@ | ||
# This file is autogenerated by Prequ. To update, run: | ||
# | ||
# prequ update | ||
# | ||
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 | ||
freezegun==0.3.9 | ||
inflection==0.3.1 # via pytest-factoryboy | ||
pluggy==0.6.0 # via pytest | ||
py==1.5.2 # via pytest | ||
pytest==3.3.2 | ||
pytest-cov==2.5.1 | ||
pytest-django==3.1.2 | ||
pytest-factoryboy==1.3.1 | ||
python-dateutil==2.6.1 # via faker, freezegun | ||
six==1.11.0 # via faker, freezegun, pytest, python-dateutil | ||
text-unidecode==1.1 # via faker |
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
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,23 @@ | ||
[tox] | ||
envlist = py{34,35,36},requirements,style | ||
skipsdist = True | ||
|
||
[testenv] | ||
deps = | ||
-rrequirements.txt | ||
-rrequirements-test.txt | ||
passenv = CI | ||
setenv = | ||
DEBUG=0 | ||
SECRET_KEY=topsecret123 | ||
commands = py.test -ra -vvv --strict --cov {posargs} | ||
|
||
[testenv:requirements] | ||
basepython = python3.4 | ||
deps = prequ==1.3.1 | ||
commands = prequ check -v | ||
|
||
[testenv:style] | ||
basepython = python3.4 | ||
deps = -rrequirements-style.txt | ||
commands = flake8 {posargs} |