Closed wasade closed 1 year ago
Minor comment: I'd put the import h5py
line before your local imports. I can recommend tools to do this sorting automatically.
Flake8 still failing with several F401 'pytest' imported but unused
Looks like where you've removed the @pytest.mark.skipif
decorators, some of those files now have a redundant import pytest
which is why flake8 complains.
Missing flake8 is what I get for pushing in changes at the end of the day... but it's also a perpetual reminder of the benefit of switching to black.
I know what you mean. Note black wouldn't have caught this though.
Personally I now use the tool pre-commit framework to run flake8 and black as a git pre-commit hook (and as part of CI testing), https://pre-commit.com/
That's a great find, thank you!
Remove h5py optional considerations
Fixes #896