More pre-commit checks
Implemented all of https://learn.scientific-python.org/development/guides/style/.
Used mdformat to format Markdown files instead of prettier
as it broke some Myst-Markdown specific stuff, e.g. directives.
Related #15.
Edited by Lars Bilke