dnf-json: disable some pylint checks
invalid-name: script name is "unpythonic" since it contains a -, but that's fine. too-many-arguments: also fine.
This commit is contained in:
parent
74d8a1a462
commit
7267fec608
1 changed files with 2 additions and 0 deletions
2
dnf-json
2
dnf-json
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
# pylint: disable=invalid-name
|
||||||
|
|
||||||
import hashlib
|
import hashlib
|
||||||
import json
|
import json
|
||||||
|
|
@ -92,6 +93,7 @@ class CacheState():
|
||||||
|
|
||||||
class Solver():
|
class Solver():
|
||||||
|
|
||||||
|
# pylint: disable=too-many-arguments
|
||||||
def __init__(self, repos, module_platform_id, persistdir, cachedir, arch):
|
def __init__(self, repos, module_platform_id, persistdir, cachedir, arch):
|
||||||
self.base = dnf.Base()
|
self.base = dnf.Base()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue