diff options
author | xengineering <me@xengineering.eu> | 2024-09-15 20:58:59 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-09-15 20:58:59 +0200 |
commit | 1ab3020d072b91917e6ee6f27ac65590ebe994d2 (patch) | |
tree | 2926a6296c7da6f849e74966dd5d6cb15df6e6a1 /tools/check.sh | |
parent | 458a24d09f95eefb161728d9676ecdfca30e3f5e (diff) | |
download | finance-py-main.tar finance-py-main.tar.zst finance-py-main.zip |
Diffstat (limited to 'tools/check.sh')
-rwxr-xr-x | tools/check.sh | 15 |
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" |