Clean up requirements definitions

parent 2522c504
...@@ -13,10 +13,11 @@ include README.rst ...@@ -13,10 +13,11 @@ include README.rst
include tox.ini include tox.ini
include *.yml include requirements.txt
include .gitlab-ci.yml
include .prospector.yml
include runtests.py include runtests.py
recursive-include requirements *.txt
recursive-include scripts *.sh recursive-include scripts *.sh
global-exclude *.py[cod] __pycache__ *.so *.dylib global-exclude *.py[cod] __pycache__ *.so *.dylib
sphinx -r ../requirements.txt
sphinx-rtd-theme sphinx==1.6.5
Django sphinx-rtd-theme==0.2.5b1
-e . -e .
-r base.txt
pytest
pytest-cov
django-fake-model
...@@ -22,7 +22,9 @@ commands = {posargs:pytest --cov --cov-report=term-missing -vv runtests.py tests ...@@ -22,7 +22,9 @@ commands = {posargs:pytest --cov --cov-report=term-missing -vv runtests.py tests
deps = deps =
django111: Django>=1.11,<1.12 django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1 django20: Django>=2.0,<2.1
-r{toxinidir}/requirements/test.txt pytest
pytest-cov
django-fake-model
passenv = * passenv = *
usedevelop = false usedevelop = false
whitelist_externals = tox whitelist_externals = tox
...@@ -79,12 +81,13 @@ deps = ...@@ -79,12 +81,13 @@ deps =
bandit bandit
safety safety
commands = commands =
safety check -r {toxinidir}/requirements/base.txt safety check -r {toxinidir}/requirements.txt
bandit -r {toxinidir}/src/hope bandit -r {toxinidir}/src/hope
[testenv:style] [testenv:style]
description = Check the code style. description = Check the code style.
deps = deps =
-r{toxinidir}/requirements.txt
isort isort
prospector[with_everything] prospector[with_everything]
commands = commands =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment