summaryrefslogtreecommitdiff
path: root/tools/check-style
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-style')
-rwxr-xr-xtools/check-style10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/check-style b/tools/check-style
new file mode 100755
index 0000000..adb2499
--- /dev/null
+++ b/tools/check-style
@@ -0,0 +1,10 @@
+#!/bin/bash -e
+
+cd "$(dirname "$0")/.."
+
+## tools/check-style
+##
+## Run style checks on the project, exiting with a zero status if there are no style
+## issues.
+
+exec black --check --diff envdir