File size: 244 Bytes
879cc1c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/env bash
# taken from: https://jaredkhan.com/blog/mypy-pre-commit
# A script for running mypy,
# with all its dependencies installed.
set -o errexit
# Change directory to the project root directory.
cd "$(dirname "$0")"/..
mypy
|