From b2ce78430b941437210f1b9859caf2254c7799e8 Mon Sep 17 00:00:00 2001 From: Bernhard Kaindl Date: Fri, 23 Jan 2026 12:00:00 +0000 Subject: [PATCH] .pylintrc: Remove obsolete disables of fixed pylint warnings --- .pylintrc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.pylintrc b/.pylintrc index 4a58cf0d..da5fb339 100644 --- a/.pylintrc +++ b/.pylintrc @@ -134,31 +134,23 @@ allow-any-import-level=XenAPI,xen.lowlevel.xc # --disable=W". # Common checks which need to be disabled for now and shall be fixed one by one: -disable=anomalous-backslash-in-string, +disable=broad-exception-caught, attribute-defined-outside-init, - bad-builtin, bare-except, - broad-except, - consider-iterating-dictionary, consider-using-dict-items, consider-using-f-string, consider-using-generator, consider-using-in, - consider-using-ternary, consider-using-tuple, consider-using-with, - else-if-used, fixme, global-statement, import-error, import-outside-toplevel, invalid-name, - invalid-name, - len-as-condition, missing-type-doc, # better do typing than type in the param docstring no-else-break, no-else-return, - no-name-in-module, protected-access, redefined-builtin, redefined-outer-name, @@ -175,8 +167,6 @@ disable=anomalous-backslash-in-string, wrong-import-order, # Py2 compat: Python2 requires calls to super() to have it's arguments: super-with-arguments, - # Py2 compat: As long as we try to use conditional imports for Py2+Py3: - ungrouped-imports, use-maxsplit-arg # Enable the message, report, category or checker with the given id(s). You can