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

Improve "code quality" #60

Merged
merged 7 commits into from
Jun 14, 2020
Merged

Improve "code quality" #60

merged 7 commits into from
Jun 14, 2020

Conversation

amoodie
Copy link
Member

@amoodie amoodie commented Jun 11, 2020

Improve "code quality" baseline.

This PR just makes a bunch of fixes to the doctrings to bring the code quality up to a baseline that looks good enough to actually look over. Initially, there were a slew of failing marks because of the docstrings and imports, and these were so distracting that you couldn't barely even see the real issues in the code.

The code quality check I turned on should help us identify bad code practices in the code, and avoid code problems in the future. I'll open an issue to address the remaining issues identified by the code quality assessment.

@amoodie amoodie added style code style testing labels Jun 11, 2020
Copy link
Member

@elbeejay elbeejay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the more innocuous PRs we've had, seems like it is a positive thing. Didn't want to merge this in case you had a preference for it going after #59.

Copy link
Collaborator

@ericbarefoot ericbarefoot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. Thanks for fixing the iter issue.

Comment on lines -45 to +30
iter = 0
_iter = 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah. This definitely needed to be changed, since iter is actually a reserved word right?

@amoodie amoodie merged commit fb75630 into DeltaRCM:develop Jun 14, 2020
amoodie added a commit to amoodie/pyDeltaRCM that referenced this pull request Feb 25, 2021
@amoodie amoodie deleted the code_qual branch February 25, 2021 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants