mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
Add some more ignores for pylint
It doesn't work very well with apt_pkg.
This commit is contained in:
parent
4471193d9c
commit
179f45ca9c
4
404main
4
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)
|
||||
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user