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
Some small cleanups based on Quantified code #6154
Some small cleanups based on Quantified code #6154
Conversation
Skimming through seems like the other things it finds have reasonable signal-to-noise. |
My main problem with enabling it on PR's is that it seems to detect new issues in a PR in parts of the code that has't been touched so I am worried about false failures |
This needs a rebase |
Fortunatly they are all the same in different representations
Original code could never run
88484e2
to
09aba5b
Compare
import numpy as np | ||
import matplotlib.pyplot as plt | ||
plt.rcdefaults() |
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.
If you're going to move this down here, it should have two blank lines above and one blank line after.
I was testing out Quantified code on Matplotlib here
I'm not sure we want to enable that in general but I found a few issues worth fixing here: