pylint: disable new checks

pylint 3.0 introduces new checks that raise too many errors:
    use-implicit-booleaness-not-comparison-to-string,
    use-implicit-booleaness-not-comparison-to-zero,
    broad-exception-raised,
Disable the new checks in pylintrc

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2023-11-29 09:45:40 +01:00
parent 020af153db
commit 7f485ba7dc

View File

@ -121,6 +121,9 @@ disable=
use-list-literal, # pylint 2.10.0 list() vs []
unspecified-encoding, # pylint 2.10.0, ASCII or UTF8 and platform-specific
use-implicit-booleaness-not-comparison, # pylint 2.12.2, weak comparison
use-implicit-booleaness-not-comparison-to-string,
use-implicit-booleaness-not-comparison-to-zero,
broad-exception-raised,
[REPORTS]