aboutsummaryrefslogtreecommitdiff
path: root/test/lint.sh
diff options
context:
space:
mode:
authorCam Cope <github@camcope.me>2021-08-30 07:35:33 -0700
committerGitHub <noreply@github.com>2021-08-30 15:35:33 +0100
commitd54c7ecbd618afb4df524e0d96dec7fe7cc2935d (patch)
tree4ffa94f7ab1e76c2657540bab4a0e358d857bfb3 /test/lint.sh
parent803e0e65cf63fdc95c7ad4a519a5db31d27f94d4 (diff)
downloadsshfs-d54c7ecbd618afb4df524e0d96dec7fe7cc2935d.tar
sshfs-d54c7ecbd618afb4df524e0d96dec7fe7cc2935d.tar.gz
sshfs-d54c7ecbd618afb4df524e0d96dec7fe7cc2935d.tar.bz2
sshfs-d54c7ecbd618afb4df524e0d96dec7fe7cc2935d.zip
Fixup whitespace and configure CI to keep it that way
Diffstat (limited to 'test/lint.sh')
-rwxr-xr-xtest/lint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lint.sh b/test/lint.sh
new file mode 100755
index 0000000..5418df5
--- /dev/null
+++ b/test/lint.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -e
+pip3 install --user pre-commit
+pre-commit run --all-files --show-diff-on-failure