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