diff --git a/404main b/404main index 2eded97..abfaf62 100755 --- a/404main +++ b/404main @@ -103,9 +103,13 @@ def find_main(cache, pack): for or_deps in all_deps: base_deps = [] for (name, ver, op) in or_deps: + # pylint: disable=too-many-function-args base_deps.append(apt.package.BaseDependency(name, op, ver, False)) + # pylint: enable=too-many-function-args + # pylint: disable=no-value-for-parameter deps.append(apt.package.Dependency(base_deps)) + # pylint: enable=no-value-for-parameter process_deps(cache, deps) diff --git a/ubuntutools/test/pylint.conf b/ubuntutools/test/pylint.conf index 1c8227c..409eb48 100644 --- a/ubuntutools/test/pylint.conf +++ b/ubuntutools/test/pylint.conf @@ -3,7 +3,7 @@ # List of classes names for which member attributes should not be checked # (useful for classes with attributes dynamically set). # lpapicache classes, urlparse -ignored-classes=Launchpad,BaseWrapper,PersonTeam,Distribution,Consumer,Credentials,ParseResult +ignored-classes=Launchpad,BaseWrapper,PersonTeam,Distribution,Consumer,Credentials,ParseResult,apt_pkg,apt_pkg.Dependency,apt_pkg.BaseDependency [FORMAT]