Closed jmcvey3 closed 3 months ago
@jmcvey3 as of #281 all MHKiT code must adhere to black formatting.
You simply need to install the package and run black .
You can also integrate it into your IDE such as VSCode or create a pre-commit hook as detailed in the MHKiT README.
Will fix tests when I know everything is functional
@ssolson Can you see if you can format the two files this test says are failing? Running black .
makes no further changes beyond commit 7fa66b0
@ssolson Can you see if you can format the two files this test says are failing? Running
black .
makes no further changes beyond commit 7fa66b0
The error says to install black[jupyter] I'm not sure why since these are not ipynb but can you try that?
...ohh wait that is just a warning of sorts... I will try tomorrow.
One other thing to check is that your black formatter is the latest version.
@ssolson Can you see if you can format the two files this test says are failing? Running
black .
makes no further changes beyond commit 7fa66b0The error says to install black[jupyter] I'm not sure why since these are not ipynb but can you try that?
...ohh wait that is just a warning of sorts... I will try tomorrow.
One other thing to check is that your black formatter is the latest version.
Hmm, just uninstalled the pip version and installed it from conda. Still no luck.
@jmcvey3 I upgraded my black using pip
pip install black --upgrade
I was able to then update using black .
I would try the pip version since releases are faster vs conda and our tests use a pip install.
If you don't care about that I pushed to ssolson dual_profile
which you can pull from to just knock this task out.
@willcoxe Is it alright with you if we use the 1 Mb file for a software test? I will try to trim it down to the minimum file size necessary to check all the code I updated.
I don't own the file so I can't make that call I'm afraid. It's eventually intended to be published with a doi by the uni/research group who own it.
@jmcvey3 is this PR ready for review?
Fix for #287, which is data from a dual profiling ADCP taking a large combination of burst and average measurements.