#5615 Prepare IPA for pylint 1.5.2
Closed: Fixed None Opened 8 years ago 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.


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:

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

Patches for 4.3 and 4.2 will be done soon.

ipa-4-3:

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

ipa-4-2:

  • f224590 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:

  • ddda062 Disable new pylint checks

ipa-4-3:

  • 963ce7f Disable new pylint checks

ipa-4-2:

  • 9136d72 Disable new pylint checks

master:

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

ipa-4-3:

  • a7fc12b Pylint: add missing attributes of errors to definitions

ipa-4-2:

  • a27f7df Pylint: add missing attributes of errors to definitions

ipa-4-2:

  • aaad91d pylint: supress false positive no-member errors

ipa-4-3:

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

master:

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

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

7 years ago

Login to comment on this ticket.

Metadata