From 7267fec608faee3ca0139aa41520bab21758e9e5 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Fri, 4 Mar 2022 17:12:23 +0100 Subject: [PATCH] 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. --- dnf-json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dnf-json b/dnf-json index f4c81db9a..6cadae9d9 100755 --- a/dnf-json +++ b/dnf-json @@ -1,4 +1,5 @@ #!/usr/bin/python3 +# pylint: disable=invalid-name import hashlib import json @@ -92,6 +93,7 @@ class CacheState(): class Solver(): + # pylint: disable=too-many-arguments def __init__(self, repos, module_platform_id, persistdir, cachedir, arch): self.base = dnf.Base()