mesh-adaptation / goalie

Goal-oriented error estimation and mesh adaptation for finite element problems solved using Firedrake
Other
1 stars 1 forks source link

Automatically install pre-commit hooks #95

Closed jwallwork23 closed 7 months ago

jwallwork23 commented 7 months ago

Closes #94.

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.