Skip to content

Commit

Permalink
Fix pylint failures in upstream CI.
Browse files Browse the repository at this point in the history
The new version of pylint (pylint-2.17.2-1.fc38) in F38 causes failures
due to containing a configuration setting that will become invalid in
pylint 3. The pylintrc file is future-proofed to work with pylint 3.

overgeneral-exceptions now causes test failure rather than a warning, it
has been disabled for now as there are many failures and it could take
some time to go through them all individually and catch less general
exceptions.
  • Loading branch information
ckelleyRH committed Apr 28, 2023
1 parent e277607 commit 2217bf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extension-pkg-whitelist=ldap,lxml,nss
#
# C and R messages are disabled by default. To clean up the code, enable C and
# R messages temporarily.
disable=W0511,W0105,W0142,C,R,W0232,W0707
disable=W0511,W0105,W0142,C,R,W0232,W0707,W0719


[REPORTS]
Expand Down Expand Up @@ -243,4 +243,4 @@ int-import-graph=

# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
overgeneral-exceptions=builtins.Exception

0 comments on commit 2217bf6

Please sign in to comment.