Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport][ipa-4-8] Fix errors found by Pylint-2.4.3 #3853

Closed

Conversation

flo-renaud
Copy link
Contributor

This is a backport of PR #3815 to ipa-4-8 branch. PR was ACKed automatically. Wait for CI to finish before pushing. In case of questions or problems contact @stanislavlevin who is author of the original PR.

New Pylint (2.4.3) catches several new 'true problems'. At the same
time, it warns about things that are massively and reasonably
employed in FreeIPA.

list of fixed:
- no-else-continue
- redeclared-assigned-name
- no-else-break
- unnecessary-comprehension
- using-constant-test (false positive)

list of ignored (responsibility of contributors and reviewers):
- import-outside-toplevel

Fixes: https://pagure.io/freeipa/issue/8102
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
@flo-renaud flo-renaud added the ack Pull Request approved, can be merged label Nov 4, 2019
@rcritten
Copy link
Contributor

rcritten commented Nov 4, 2019

This is a duplicate of #3852

@rcritten
Copy link
Contributor

rcritten commented Nov 4, 2019

Closing, 3852 was merged.

@rcritten rcritten closed this Nov 4, 2019
@flo-renaud flo-renaud deleted the backport_pr3815_ipa-4-8 branch November 5, 2019 07:28
@flo-renaud
Copy link
Contributor Author

@rcritten
you were faster :)
Sorry for the duplicate and thanks for closing the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged
Projects
None yet
3 participants