introuduce pre-commit checks in CI job for formatting
The following discussion from !519 (merged) should be addressed:
-
@gcorti started a discussion: (+2 comments) Why is this needed?
Introduce the pre-commit checks like in Gauss, see Gauss!864 (merged)