Closed rbales-usgs closed 11 months ago
Bo, please confirm you have the pre-commit hook set up and are running it. This helps keep the code style consistent among contributors.
Hi Dan,
No I don't have pre-commit hook installed. I did run black to all the .py files I changed.
Is there a way I can fix this after making my commits to the feature branch?
Thanks
In the repo, run pre-commit install
at the command line. Then make a small change to the file (like adding a newline in the imports) and add it, then try committing. The pre-commit hook should take action then. It will make changes that you can add and then commit.
Added numpy and xarray imports to beginning of nc2waves.py as well as incorporating a continuous dwave dataset to the rsk test.