-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
174 pylint alerts corrections #181
174 pylint alerts corrections #181
Conversation
Just adding a new line is not compatible with black. https://github.com/psf/black Instead extracted styles as a variable, similar to pages. Using the black playground I noted the few more changes are needed. I did not apply them to keep this modification focused.
Found unrelated black-style alerts. I did not apply them to keep the change focused.
Noted black style alert not related to the change. I did not apply them to keep the change focused.
Method was too long, Extracted methods having a single responsibility, making the code easier to understand and shorter. There a black style alerts in the file. I din not fix them to keep the change focused.
Hi @evidencebp, we recently have a very large update of our repo. Is it possible for you to rerun your algorithm to gets the edit and open a new PR? |
Indeed a large update. Can you approve and merge now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hope this helps your research!
Sure it will help! In case that you would like to intervene yourself in other projects or have ideas for such, please tell me. |
…s-corrections 174 pylint alerts corrections
This PR takes care of issue "Pylint alerts corrections as part of intervention experiment" #174.
Each commit takes care of a single Pylint alert in a single file.
See the executed interventions.
The commit message explain the intervention and its justification (e.g., when narrowing an exception).
Most interventions are minor.
The larger ones are due to too-many-branches or too-many-statements.
In these cases I extracted methods, making the code shorter, easier to understand and modify.
When going over the PR please note:
Please tell me if there are unclear points or some other needed aspects.