-
Notifications
You must be signed in to change notification settings - Fork 76
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
chore: cleanup flake8 #527
Conversation
We're getting ready to split the Uproot repo into Note: this was never merged or reviewed because it was a draft. I assumed that you were still planning on adding to it, though it's been dormant for a while. If you want, we can apply it to |
The failing test is the one with ROOT. One of the changes in |
I marked it with draft because I need to solve the == None / is None problem (which is a PyROOT Python antipattern). Then I forgot about it. I can see if it can be revived. |
a88b14f
to
f6e267f
Compare
Since it's isolated, just a few places in the codebase and all of them in tests, I think the " Even if ROOT changes, there are versions of ROOT out there that require |
Signed-off-by: Henry Schreiner <[email protected]>
Could it be |
Signed-off-by: Henry Schreiner <[email protected]>
4b4a927
to
bb19786
Compare
The return value of TLeaf::GetLeafCount is typed ( It's a nice way out. I tend to avoid relying on truthy and falsy tests, but my reasons are undermined by cases that have a checked type. |
Signed-off-by: Henry Schreiner <[email protected]>
e1e61be
to
6c6fe15
Compare
…ryiii/chore/flake8b
* style: cleanup flake8 * style: more flake8 * style: clean a few more suggestions * fix: check for print statements * fix: restore a few more warnings * fix: update a few versions Signed-off-by: Henry Schreiner <[email protected]> * chore: ignore prints in dev Signed-off-by: Henry Schreiner <[email protected]> * tests: noqa and use == on None Signed-off-by: Henry Schreiner <[email protected]> * tests: direct falsiness for ROOT Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: Jim Pivarski <[email protected]>
This cleans up some flake8 things.