FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: enable more pylint checks by JohnVillalovos · Pull Request #2051 · python-gitlab/python-gitlab · GitHub

Repository navigation

chore: enable more pylint checks - #2051

Merged
nejch merged 7 commits into
mainfrom
jlvillal/more_more_pylint
Jun 5, 2022
Merged

nejch merged 7 commits into
mainfrom
jlvillal/more_more_pylint

Conversation

Copy link
Copy Markdown
Member

No description provided.

JohnVillalovos marked this pull request as draft June 3, 2022 23:49
Enable the pylint checks:
  * unnecessary-pass
  * unspecified-encoding

Update code to resolve errors found
Enabled the pylint checks that don't require any code changes.
Previously these checks were disabled.
Enable the pylint check "raise-missing-from" and fix errors detected.
Enable the pylint check: "attribute-defined-outside-init" and fix
errors detected.
Enable the pylint check "no-else-return" and fix the errors detected.
Enable the pylint check "no-self-use" and fix the errors detected.
Enable the pylint check "redefined-outer-name" and fix the errors
detected.
JohnVillalovos force-pushed the jlvillal/more_more_pylint branch from 7ca7a00 to 1324ce1 Compare June 4, 2022 16:18
JohnVillalovos marked this pull request as ready for review June 4, 2022 16:28
JohnVillalovos requested a review from nejch June 4, 2022 16:29

Copy link
Copy Markdown
Member Author

@nejch Let me know if you would prefer this split into multiple PRs.

nejch commented Jun 5, 2022

Copy link
Copy Markdown
Member

@nejch Let me know if you would prefer this split into multiple PRs.

It's ok, LGTM! pylint complaining about attribute-defined-outside-init for rest objects IMO is a bit dubious in our case, as we already abuse instance attributes for API attributes. That will always be a moving target, but let's see :)

nejch changed the title Even more pylint... chore: enable more pylint checks Jun 5, 2022
nejch merged commit 7a5923c into main Jun 5, 2022
nejch deleted the jlvillal/more_more_pylint branch June 5, 2022 17:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL