Skip to content

Commit

Permalink
Move requirement files to tools/requirements/
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jul 30, 2019
1 parent 800f866 commit c6da85a
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ setenv =
# This is required in order to get UTF-8 output inside of the subprocesses
# that our tests use.
LC_CTYPE = en_US.UTF-8
deps = -r{toxinidir}/tools/tests-requirements.txt
deps = -r{toxinidir}/tools/requirements/tests.txt
commands_pre =
python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' {toxinidir}/tests/data/common_wheels
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/tests-common_wheels-requirements.txt
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/requirements/tests-common_wheels.txt
commands = pytest --timeout 300 []
install_command = {[helpers]pip} install {opts} {packages}
list_dependencies_command = {[helpers]pip} freeze --all
Expand All @@ -29,7 +29,7 @@ commands = pytest --timeout 300 --cov=pip --cov-report=term-missing --cov-report

[testenv:docs]
# Don't skip install here since pip_sphinxext uses pip's internals.
deps = -r{toxinidir}/tools/docs-requirements.txt
deps = -r{toxinidir}/tools/requirements/docs.txt
basepython = python3.6
commands =
sphinx-build -W -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
Expand All @@ -50,7 +50,7 @@ commands =
python setup.py check -m -r -s

[lint]
deps = -r{toxinidir}/tools/lint-requirements.txt
deps = -r{toxinidir}/tools/requirements/lint.txt

[testenv:lint-py2]
skip_install = True
Expand All @@ -74,7 +74,7 @@ commands =
[testenv:mypy]
skip_install = True
basepython = python3
deps = -r{toxinidir}/tools/mypy-requirements.txt
deps = -r{toxinidir}/tools/requirements/mypy.txt
commands_pre =
commands =
mypy src
Expand Down

0 comments on commit c6da85a

Please sign in to comment.