mesh-adaptation / animate

Anisotropic mesh adaptation toolkit for Firedrake
MIT License
5 stars 0 forks source link

Add pre-commit hooks #70

Closed jwallwork23 closed 5 months ago

jwallwork23 commented 5 months ago

Closes #69.

Installed pre-commit hooks are called every time you commit to the repo. In this case, we hook up flake8 and Black so that the code is automatically formatted at each commit. This ensures consistency and removes any need for future reformatting.