Browse Source

Move pylint dep from tox.ini to test-requirements

This allows us to pin pylint from global requirements.

Closes-Bug: #1470186
Depends-On: Ibad8cd2911efbe075ea2629c543f6ce1f216c938
Change-Id: I31cc18e0b4cd32728f5814aa9dbf403104f72c72
tags/7.0.0.0b2
Assaf Muller 4 years ago
parent
commit
0a3279107f
2 changed files with 2 additions and 2 deletions
  1. +1
    -0
      test-requirements.txt
  2. +1
    -2
      tox.ini

+ 1
- 0
test-requirements.txt View File

@@ -19,3 +19,4 @@ oslotest>=1.5.1 # Apache-2.0
os-testr>=0.1.0
tempest-lib>=0.5.0
ddt>=0.7.0
pylint==1.4.4 # GNU GPL v2

+ 1
- 2
tox.ini View File

@@ -78,14 +78,13 @@ downloadcache = ~/cache/pip
basepython = python2.7
deps =
{[testenv]deps}
pylint
commands=
# If it is easier to add a check via a shell script, consider adding it in this file
sh ./tools/misc-sanity-checks.sh
{toxinidir}/tools/check_unit_test_structure.sh
# Checks for coding and style guidelines
flake8
# sh ./tools/coding-checks.sh --pylint '{posargs}'
sh ./tools/coding-checks.sh --pylint '{posargs}'
neutron-db-manage --config-file neutron/tests/etc/neutron.conf check_migration
whitelist_externals =
sh

Loading…
Cancel
Save