Add pre-commit, ruff check configuration and Github action
#301
mypy.yml
on: pull_request
Check code with mypy
15s