pylint 2.5.0 has introduced several new warnings and errors.
f-string-without-interpolation
exception-escape
e
try / except Exception as e
It also finds additional issues: too-many-function-args in several files. These should be addressed eventually. However we have to silence it for now to not break internal APIs. signature-differs in DsInstance
too-many-function-args
signature-differs
************* Module ipaclient.install.client ipaclient/install/client.py:1909: [W1661(exception-escape), get_ca_certs] Using an exception object that was bound by an except handler) ^G************* Module ipaserver.install.dsinstance ipaserver/install/dsinstance.py:655: [W0222(signature-differs), DsInstance.start] Signature differs from overridden 'start' method) ipaserver/install/dsinstance.py:659: [W0222(signature-differs), DsInstance.stop] Signature differs from overridden 'stop' method) ************* Module ipaserver.install.server.upgrade ipaserver/install/server/upgrade.py:358: [W1661(exception-escape), upgrade_adtrust_config] Using an exception object that was bound by an except handler) ************* Module ipaserver.plugins.migration ipaserver/plugins/migration.py:865: [W1661(exception-escape), migrate_ds.migrate] Using an exception object that was bound by an except handler) ************* Module ipatests.azure.scripts.setup_containers ipatests/azure/scripts/setup_containers.py:5: [E0401(import-error), ] Unable to import 'docker')
Metadata Update from @cheimes: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/4605
master:
ipa-4-6:
ipa-4-8:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.