44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
From 45c1b35fb5cc5ec43288a4318c904bc5ae997638 Mon Sep 17 00:00:00 2001
|
|
From: Michal Hecko <mhecko@redhat.com>
|
|
Date: Tue, 29 Oct 2024 22:16:09 +0100
|
|
Subject: [PATCH 4/6] pylint: ignore too many params/lines, yield from
|
|
|
|
Ignore pylint's options:
|
|
* too-many-lines
|
|
* too-many-positional-arguments
|
|
* use-yield-from
|
|
|
|
Some of these options cannot be used (python2.7 compat) or configured.
|
|
See: https://github.com/oamg/leapp-repository/pull/1299
|
|
---
|
|
.pylintrc | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/.pylintrc b/.pylintrc
|
|
index fd73083..459933a 100644
|
|
--- a/.pylintrc
|
|
+++ b/.pylintrc
|
|
@@ -28,7 +28,9 @@ disable=
|
|
too-few-public-methods,
|
|
too-many-ancestors,
|
|
too-many-branches,
|
|
+ too-many-lines,
|
|
too-many-locals,
|
|
+ too-many-positional-arguments,
|
|
too-many-public-methods,
|
|
too-many-statements,
|
|
print-statement,
|
|
@@ -42,7 +44,8 @@ disable=
|
|
no-absolute-import, # XXX FIXME nice to have one day
|
|
unspecified-encoding, # XXX FIXME May be a good thing to have one day though
|
|
deprecated-class, # We still have < 3.9 to support
|
|
- use-dict-literal
|
|
+ use-dict-literal,
|
|
+ use-yield-from
|
|
|
|
[FORMAT]
|
|
# Maximum number of characters on a single line.
|
|
--
|
|
2.47.0
|
|
|