#5615 Prepare IPA for pylint 1.5.2
Closed: Fixed Opened by mbasti.

Pylint 1.5.2 (will be in F24) reports much more errors than current, adds new checks, and also introduces incompatibility change with our current make-lint script

new reported errors: ~230
errors

new reported warnings: ~5
warnings

new reported coding style issues: ~599
coding style

At least errors should be fixed.


new pylint warnings
warnings.txt

new pylint errors
errors.txt

new pylint coding style issues
coding_style.txt

A good candidate for someone to start getting familiar with IPA code base.

Build should pass in ipa-4-2+ branches.

New checks could be disabled in 4.2, 4.3 branches.

master:

  • 2ce8921fe69ed58871f8e33e3899ad80dcc28c0e make lint: use config file and plugin for pylint

Patches for 4.3 and 4.2 will be done soon.

ipa-4-3:

  • 6dff0e4ad44c8e1bf0add0149d01bff963192f7a make lint: use config file and plugin for pylint

ipa-4-2:

  • f2245901e1d717ea8de98d751400838bd8bf1a71 make lint: use config file and plugin for pylint

Missing parts:

  • disable new checks from pylint 1.5.x which we do not want
  • fix errors new errors with current checks, which pylint 1.5.x is able to detect

master:

  • ddda062d58fd9c3c6b4edbea0afb236fc26024ba Disable new pylint checks

ipa-4-3:

  • 963ce7f117b0cd69590327350b893e755cc38856 Disable new pylint checks

ipa-4-2:

  • 9136d72ae1feff15a80f162d06a837e7f8cee7ea Disable new pylint checks

master:

  • 5c33edcd11c466df59dbd13aac5e1b42ffa6fbb7 Pylint: add missing attributes of errors to definitions

ipa-4-3:

  • a7fc12b3abc1d6e1bd8d817f6358455202e17fad Pylint: add missing attributes of errors to definitions

ipa-4-2:

  • a27f7dfa483fa1f088b46544f323fe3801a08b56 Pylint: add missing attributes of errors to definitions

ipa-4-2:

  • aaad91d32ee855813bac5f57f8af128cfee327a5 pylint: supress false positive no-member errors

ipa-4-3:

  • 76545e2a54ebbfc5422d2a4bcd51fad1bbd8a79a pylint: supress false positive no-member errors

master:

  • 72d5499c5a902c860c5496ee6e604526672e5777 pylint: supress false positive no-member errors

Metadata Update from @mbasti:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.2.4

Metadata