mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Test with the pylint command, we don't have py2+3 versions any more
This commit is contained in:
parent
b0421706d5
commit
e163ee0158
@ -36,7 +36,7 @@ class PylintTestCase(unittest.TestCase):
|
|||||||
def test_pylint(self):
|
def test_pylint(self):
|
||||||
"""Test: Run pylint on Python source code"""
|
"""Test: Run pylint on Python source code"""
|
||||||
|
|
||||||
cmd = [sys.executable, "-m", "pylint", "--rcfile=" + CONFIG,
|
cmd = ["pylint", "--rcfile=" + CONFIG,
|
||||||
"-E", "--"] + get_source_files()
|
"-E", "--"] + get_source_files()
|
||||||
if unittest_verbosity() >= 2:
|
if unittest_verbosity() >= 2:
|
||||||
sys.stderr.write("Running following command:\n{}\n".format(" ".join(cmd)))
|
sys.stderr.write("Running following command:\n{}\n".format(" ".join(cmd)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user