From 1ab3020d072b91917e6ee6f27ac65590ebe994d2 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 15 Sep 2024 20:58:59 +0200 Subject: tools: Rename check_source.sh to check.sh --- tools/check.sh | 15 +++++++++++++++ tools/check_source.sh | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100755 tools/check.sh delete mode 100755 tools/check_source.sh 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" diff --git a/tools/check_source.sh b/tools/check_source.sh deleted file mode 100755 index de8c790..0000000 --- a/tools/check_source.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - - -set -euf - - -script="$(realpath "$0")" -tools="$(dirname "$script")" -root="$(dirname "$tools")" - - -black "$root" -mypy --strict "$root" -flake8 "$root" -pytest "$root" -- cgit v1.2.3-70-g09d2