On 8/18/2015 10:15 AM, Christian Heimes wrote:
Endi has found a problem with F21:
http://www.fpaste.org/256300/08336143/ . The attached patch silences the
pylint warning.
Some versions of pylint complain about six's moves magic:
No name 'urllib' in module '_MovedItems' (no-name-in-module)
ACK. It fixes the pylint errors. However, there are still some pylint
warnings which will also break the F21 build. The warnings didn't exist
last week (see below).
###################################################################
Below is the pylint messages using the latest on master:
###################################################################
************* Module pylint-build-scan
I: 33, 0: Locally disabling import-error (F0401) (locally-disabled)
************* Module pki
I: 33, 0: Locally disabling redefined-builtin (W0622) (locally-disabled)
I: 33, 0: Locally disabling import-error (F0401) (locally-disabled)
I:127, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:141, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:149, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:161, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module pki.encoder
I: 36, 0: Locally disabling method-hidden (E0202) (locally-disabled)
************* Module pki.profile
I:1361, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:1398, 0: Locally disabling broad-except (W0703) (locally-disabled)
************* Module pki.key
I: 33, 0: Locally disabling import-error (F0401) (locally-disabled)
I: 33, 0: Locally disabling no-name-in-module (E0611) (locally-disabled)
I: 40, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I: 51, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I: 63, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:115, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:147, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:183, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:219, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:255, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module pki.upgrade
I:551, 0: Locally disabling exec-used (W0122) (locally-disabled)
I:638, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:705, 0: Locally disabling broad-except (W0703) (locally-disabled)
************* Module pki.server.cli.migrate
I:167, 0: Locally disabling protected-access (W0212) (locally-disabled)
I:280, 0: Locally disabling protected-access (W0212) (locally-disabled)
************* Module pki.server.cli.instance
I:327, 0: Locally disabling no-member (E1101) (locally-disabled)
I:327, 0: Locally disabling maybe-no-member (E1103) (locally-disabled)
I:383, 0: Locally disabling no-member (E1101) (locally-disabled)
I:383, 0: Locally disabling maybe-no-member (E1103) (locally-disabled)
I:439, 0: Locally disabling no-member (E1101) (locally-disabled)
I:439, 0: Locally disabling maybe-no-member (E1103) (locally-disabled)
************* Module pki.server.deployment.pkiparser
I: 37, 0: Locally disabling redefined-builtin (W0622) (locally-disabled)
I: 37, 0: Locally disabling import-error (F0401) (locally-disabled)
I: 38, 0: Locally disabling import-error (F0401) (locally-disabled)
I: 39, 0: Locally disabling import-error (F0401) (locally-disabled)
I: 39, 0: Locally disabling no-name-in-module (E0611) (locally-disabled)
I:363, 0: Locally disabling no-member (E1101) (locally-disabled)
I:378, 0: Locally disabling no-member (E1101) (locally-disabled)
************* Module pki.server.deployment.pkiscriptlet
I: 36, 0: Locally disabling unused-argument (W0613) (locally-disabled)
W: 29, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.pkihelper
I: 35, 0: Locally disabling no-name-in-module (E0611) (locally-disabled)
I:1091, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:2978, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:2999, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:3905, 0: Locally disabling no-member (E1101) (locally-disabled)
************* Module pki.server.deployment.pkiconfig
I: 25, 0: Locally disabling redefined-builtin (W0622) (locally-disabled)
I: 25, 0: Locally disabling import-error (F0401) (locally-disabled)
************* Module pki.server.deployment.scriptlets.security_databases
W: 31, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.webapp_deployment
W: 33, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.instance_layout
W: 33, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.finalization
W: 32, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.infrastructure_layout
W: 32, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.subsystem_layout
W: 31, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.selinux_setup
W: 45, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.slot_substitution
W: 31, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.initialization
W: 31, 0: Class has no __init__ method (no-init)
************* Module pki.server.deployment.scriptlets.configuration
W: 34, 0: Class has no __init__ method (no-init)
I: 83, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module pkispawn
I: 58, 0: Locally disabling unused-argument (W0613) (locally-disabled)
I:601, 0: Locally disabling broad-except (W0703) (locally-disabled)
************* Module pkidestroy
I: 55, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module pki-upgrade
I: 31, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module pki-server-upgrade
I: 33, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module 01-RemoveInaccessableURLsFromServerXML
I: 34, 0: Locally disabling anomalous-backslash-in-string (W1401)
(locally-disabled)
************* Module 01-AddKraAuditEvents
I: 48, 0: Locally disabling unused-argument (W0613) (locally-disabled)
###################################################################
Below is the pylint messages using revision
f60846e025ff5492e8c05ccf525fe8df1b59bba6:
###################################################################
************* Module pylint-build-scan
I: 31, 0: Locally disabling import-error (F0401) (locally-disabled)
************* Module pki
I:121, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:135, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:143, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:155, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module pki.encoder
I: 34, 0: Locally disabling method-hidden (E0202) (locally-disabled)
************* Module pki.profile
I:1353, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:1390, 0: Locally disabling broad-except (W0703) (locally-disabled)
************* Module pki.key
I: 36, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I: 47, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I: 59, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:110, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:142, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:178, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:214, 0: Locally disabling too-few-public-methods (R0903)
(locally-disabled)
I:250, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module pki.upgrade
I:625, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:692, 0: Locally disabling broad-except (W0703) (locally-disabled)
************* Module pki.server.cli.migrate
I:153, 0: Locally disabling protected-access (W0212) (locally-disabled)
I:271, 0: Locally disabling protected-access (W0212) (locally-disabled)
************* Module pki.server.cli.instance
I:325, 0: Locally disabling no-member (E1101) (locally-disabled)
I:325, 0: Locally disabling maybe-no-member (E1103) (locally-disabled)
I:379, 0: Locally disabling no-member (E1101) (locally-disabled)
I:379, 0: Locally disabling maybe-no-member (E1103) (locally-disabled)
I:433, 0: Locally disabling no-member (E1101) (locally-disabled)
I:433, 0: Locally disabling maybe-no-member (E1103) (locally-disabled)
************* Module pki.server.deployment.pkiscriptlet
I: 30, 0: Locally disabling unused-argument (W0613) (locally-disabled)
I: 37, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module pki.server.deployment.pkihelper
I:1073, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:2939, 0: Locally disabling broad-except (W0703) (locally-disabled)
I:2959, 0: Locally disabling broad-except (W0703) (locally-disabled)
I: 81, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module pkispawn
I: 56, 0: Locally disabling unused-argument (W0613) (locally-disabled)
I:598, 0: Locally disabling broad-except (W0703) (locally-disabled)
************* Module pkidestroy
I: 53, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module pki-upgrade
I: 29, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module pki-server-upgrade
I: 31, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module 01-RemoveInaccessableURLsFromServerXML
I: 33, 0: Locally disabling anomalous-backslash-in-string (W1401)
(locally-disabled)
************* Module 01-AddKraAuditEvents
I: 47, 0: Locally disabling unused-argument (W0613) (locally-disabled)
--
Endi S. Dewata