lint/pre-commit/ci: replace shfmt => beautysh

This commit is contained in:
Casper da Costa-Luis
2020-01-31 19:14:51 +00:00
parent 4e87bf9e0e
commit b0b69ce819
4 changed files with 6 additions and 24 deletions
+1 -4
View File
@@ -9,7 +9,4 @@ pip install Pygments collective.checkdocs pre-commit
python setup.py checkdocs
# stop the build if there are any formatting errors
err=0
pre-commit run --all-files black || err=1
pre-commit run --all-files flake8 || err=1
exit $err
pre-commit run --all-files
-9
View File
@@ -1,9 +0,0 @@
#!/bin/bash
set -x
set -e
GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt
# stop the build if there are any formatting errors
shfmt -l -d -i 2 -ci -w .