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