-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pep8 linting #107
base: main
Are you sure you want to change the base?
Pep8 linting #107
Conversation
@ledm thanks to you we now have a "standards" label, although am a bit scared to look at this PR just yet 🤣 |
@ledm this is starting to become stale, mate. You reckon we can just power on sometime and get it over the finish line? I can help with it since I have to yapf a whole lot of code for the ANCIL project too |
Conflicts: bgcval2/analysis_compare.py
@@ -1635,34 +1697,8 @@ def newImageLocation(fn): | |||
print("Adding ", relfn, "to script") | |||
|
|||
if len(otherFilenames): | |||
# I think this is never happens anymore. | |||
# This should never happens. | |||
assert 0 |
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.
assert 0 | |
print('Report: otherFilenames is too long:', otherFilenames ) | |
raise IndexError |
I think the tests are currently failing because they reference some of the objects that were renamed in this PR. I'll see what I can do. Edit. nope, jsut me being stupid. |
nice! Then you reckon is close to merge? I can plop a |
Ran a linter, and a few refactors over bgcval2.
Code should be cleaner and more readable, but a lot of changes to review.
Happy to do it in stages.
Closes #106