Fix to pass pep8 test and add pylint and py27 to the test
- Fix new_file_testing.py to pass pep8 test - Add pylint and py27 to envlist for tox test - Remove deprecated argument that will error on Python 2.7.14 on Ubuntu 17.10 Change-Id: Iabc22e75bac7366ba5b283ad0ea810847a53340c Closes-Bug: #1730154
This commit is contained in:
parent
085b9c1a18
commit
0ddcf299b6
|
@ -1,2 +1 @@
|
|||
print('Added file for testing')
|
||||
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -1,6 +1,6 @@
|
|||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = pep8
|
||||
envlist = pep8,pylint,py27
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
|
@ -10,7 +10,7 @@ setenv =
|
|||
VIRTUAL_ENV={envdir}
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py test --slowest --testr-args='{posargs}'
|
||||
commands = python setup.py test
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8 {posargs}
|
||||
|
|
Loading…
Reference in New Issue