-
Notifications
You must be signed in to change notification settings - Fork 11
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
add precommit #84
add precommit #84
Conversation
HI @callumrollo , |
ok I think this is ready @rcaneill . Bit of a monster! Mostly spelling corrections and clearing out unused imports |
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.
It seems incorrect here to replace nam
by name
as name
is already used in the for loop (line 27).
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.
Thanks for the great work! See my comment in file namelist.py
This draft PR adds some basic pre-commit hooks. This pre-commit will, among other things, satisfy the pyopensci requirement for automated linting
The linting is picking up quite a few PEP8 and spelling errors atm. These will need to be fixed. This also should be added to CI.
@rcaneill are you working on something similar already, or should I complete this PR?