summaryrefslogtreecommitdiff
path: root/tools/check.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-15 20:58:59 +0200
committerxengineering <me@xengineering.eu>2024-09-15 20:58:59 +0200
commit1ab3020d072b91917e6ee6f27ac65590ebe994d2 (patch)
tree2926a6296c7da6f849e74966dd5d6cb15df6e6a1 /tools/check.sh
parent458a24d09f95eefb161728d9676ecdfca30e3f5e (diff)
downloadfinance-py-main.tar
finance-py-main.tar.zst
finance-py-main.zip
tools: Rename check_source.sh to check.shHEADmain
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"