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