From 5715151e2256a4d08f678768454384b4bc7c9f32 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 11 Nov 2015 21:49:32 -0500 Subject: [PATCH] Rename dev-requirements.txt to test-requirements.txt This is a cosmetic change to bring our requirement.txt files inline with other OpenStack project. Change-Id: I759acbbe9655884815df512835353dbb009b002c Signed-off-by: Paul Belanger --- scripts/gate-check-docs.sh | 4 ++-- scripts/gate-check-lint.sh | 4 ++-- dev-requirements.txt => test-requirements.txt | 0 tox.ini | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename dev-requirements.txt => test-requirements.txt (100%) diff --git a/scripts/gate-check-docs.sh b/scripts/gate-check-docs.sh index a728914e75..05e305bc6a 100755 --- a/scripts/gate-check-docs.sh +++ b/scripts/gate-check-docs.sh @@ -26,8 +26,8 @@ info_block "Running Basic Ansible Lint Check" # Install the development requirements. -if [ -f "dev-requirements.txt" ]; then - pip2 install -r dev-requirements.txt || pip install -r dev-requirements.txt +if [ -f "test-requirements.txt" ]; then + pip2 install -r test-requirements.txt || pip install -r test-requirements.txt fi pushd doc diff --git a/scripts/gate-check-lint.sh b/scripts/gate-check-lint.sh index a1408d8805..41a7b9ca5e 100755 --- a/scripts/gate-check-lint.sh +++ b/scripts/gate-check-lint.sh @@ -28,8 +28,8 @@ info_block "Running Basic Ansible Lint Check" source $(dirname ${0})/bootstrap-ansible.sh # Install the development requirements. -if [ -f "dev-requirements.txt" ]; then - pip2 install -r dev-requirements.txt || pip install -r dev-requirements.txt +if [ -f "test-requirements.txt" ]; then + pip2 install -r test-requirements.txt || pip install -r test-requirements.txt else pip2 install ansible-lint || pip install ansible-lint fi diff --git a/dev-requirements.txt b/test-requirements.txt similarity index 100% rename from dev-requirements.txt rename to test-requirements.txt diff --git a/tox.ini b/tox.ini index f5aa9d26f2..7c13be1c35 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ envlist = docs,pep8,bashate usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} -deps = -r{toxinidir}/dev-requirements.txt +deps = -r{toxinidir}/test-requirements.txt [testenv:docs] commands= @@ -15,7 +15,7 @@ commands= # environment used by the -infra templated docs job [testenv:venv] -deps = -r{toxinidir}/dev-requirements.txt +deps = -r{toxinidir}/test-requirements.txt commands = {posargs} # Run hacking/flake8 check for all python files