Chore/update pyproject
changed pyproject.toml to use stricter config for mypy and changed pre-commit-config.yaml to run mypy locally
changed pyproject.toml to use stricter config for mypy and changed pre-commit-config.yaml to run mypy locally