summaryrefslogtreecommitdiff
path: root/tools/check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check.sh')
-rwxr-xr-xtools/check.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/check.sh b/tools/check.sh
new file mode 100755
index 0000000..de8c790
--- /dev/null
+++ b/tools/check.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+
+set -euf
+
+
+script="$(realpath "$0")"
+tools="$(dirname "$script")"
+root="$(dirname "$tools")"
+
+
+black "$root"
+mypy --strict "$root"
+flake8 "$root"
+pytest "$root"