Skip to content

Commit

Permalink
pylint: ignore too many params/lines, yield from
Browse files Browse the repository at this point in the history
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: oamg/leapp-repository#1299
  • Loading branch information
Michal Hecko committed Nov 12, 2024
1 parent 201493f commit 9cb0a74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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.
Expand Down

0 comments on commit 9cb0a74

Please sign in to comment.