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

Pylint alerts corrections as part of an intervention experiment 5 #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

evidencebp
Copy link

Makes the interventions describe in intervention issue.
The experiment is described here.

Each intervention was done in a dedicated commit with a message explaining it.

 The function setup_program_session had 16 branches while Pylint recommends not to have more than 12.

The function was written in a structured way so I extracted a few blocks into functions, solving the alert.
This also made the function more readable.
Function setup_program_session had 15 branches while Pylint recommends not to have more than 12.
I extracted a method for handling talk, fixing the alert.
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.

1 participant