diff options
author | James Falcon <TheRealFalcon@users.noreply.github.com> | 2021-01-26 14:23:05 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 14:23:05 -0600 |
commit | 5ec01a57a6053934c5510e42c678e7d3d1f4af1b (patch) | |
tree | b0bf5bc8786dc966b6757dd9627f613498244b8c | |
parent | 4c190685498addc053e802cb7c1afbcf3890dfef (diff) | |
download | vyos-cloud-init-5ec01a57a6053934c5510e42c678e7d3d1f4af1b.tar.gz vyos-cloud-init-5ec01a57a6053934c5510e42c678e7d3d1f4af1b.zip |
Stop linting cloud_tests (#791)
The tox pylint command was failing because of competing dependencies in
the multiple requirements files. Given that we plan on no longer
updating cloud_tests, we also no longer need to lint them.
-rw-r--r-- | tox.ini | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -26,9 +26,9 @@ deps = pylint==2.6.0 # test-requirements because unit tests are now present in cloudinit tree -r{toxinidir}/test-requirements.txt - -r{toxinidir}/cloud-tests-requirements.txt -r{toxinidir}/integration-requirements.txt -commands = {envpython} -m pylint {posargs:cloudinit tests tools} +commands = {envpython} -m pylint {posargs:cloudinit tests --ignore=cloud_tests tools} + [testenv:py3] basepython = python3 @@ -123,13 +123,12 @@ commands = {envpython} -m flake8 {posargs:cloudinit/ tests/ tools/} deps = flake8 [testenv:tip-pylint] -commands = {envpython} -m pylint {posargs:cloudinit tests tools} +commands = {envpython} -m pylint {posargs:cloudinit tests --ignore=cloud_tests tools} deps = # requirements pylint # test-requirements -r{toxinidir}/test-requirements.txt - -r{toxinidir}/cloud-tests-requirements.txt -r{toxinidir}/integration-requirements.txt [testenv:citest] |