diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2014-11-10 01:26:26 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2014-11-10 16:02:31 +0100 |
commit | 0bfc5a946a10712a5d82daa6ae0d1cd50fbb4ba8 (patch) | |
tree | f8381c470effee6360b17fd0235df21d288d16e2 /testsuite/Testsrc/test_code_checks.py | |
parent | 26f0b52730f7fe5255a6a118b5afb564fc660423 (diff) | |
download | bcfg2-0bfc5a946a10712a5d82daa6ae0d1cd50fbb4ba8.tar.gz bcfg2-0bfc5a946a10712a5d82daa6ae0d1cd50fbb4ba8.tar.bz2 bcfg2-0bfc5a946a10712a5d82daa6ae0d1cd50fbb4ba8.zip |
Client/Tools/APT: fix pylint errors, enable check
Previously pep8/pylint checks were disable for the APT tool because
there were to many errors. This fix the pylint errors and enables the
code style checks.
Diffstat (limited to 'testsuite/Testsrc/test_code_checks.py')
-rw-r--r-- | testsuite/Testsrc/test_code_checks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/Testsrc/test_code_checks.py b/testsuite/Testsrc/test_code_checks.py index c368d40ce..d9f985104 100644 --- a/testsuite/Testsrc/test_code_checks.py +++ b/testsuite/Testsrc/test_code_checks.py @@ -35,6 +35,7 @@ contingent_checks = { "lib/Bcfg2/Server/Admin": ["Reports.py", "Syncdb.py"], "sbin": ["bcfg2-reports"]}, ("pyinotify",): {"lib/Bcfg2/Server/FileMonitor": ["Inotify.py"]}, + ("apt",): {"lib/Bcfg2/Client/Tools": ["APT.py"]}, ("yum",): {"lib/Bcfg2/Client/Tools": ["YUM.py"]}, ("genshi",): {"lib/Bcfg2/Server/Plugins/Cfg": ["CfgGenshiGenerator.py"]}, ("Cheetah",): {"lib/Bcfg2/Server/Plugins/Cfg": ["CfgCheetahGenerator.py"]}, @@ -66,7 +67,7 @@ error_checks = { # perform no checks at all on the listed files no_checks = { - "lib/Bcfg2/Client/Tools": ["APT.py", "RPM.py", "rpmtools.py"], + "lib/Bcfg2/Client/Tools": ["RPM.py", "rpmtools.py"], "lib/Bcfg2/Server": ["Snapshots", "Hostbase"], "lib/Bcfg2": ["manage.py"], "lib/Bcfg2/Server/Reports": ["manage.py"], |