Add `pre-commit` configuration to format, link and type check the code before commit. Proposal: - formatting: ruff (with black formatter configuration), - linting: ruff, - type check: mypy
Add
pre-commitconfiguration to format, link and type check the code before commit.Proposal: