mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
add shfmt
This commit is contained in:
parent
687a6433bb
commit
8fb52ec8f2
@ -80,6 +80,13 @@ repos:
|
|||||||
# - id: black
|
# - id: black
|
||||||
#- id: black-jupyter
|
#- id: black-jupyter
|
||||||
|
|
||||||
|
# Shell code formatter, requires Go
|
||||||
|
- repo: https://github.com/scop/pre-commit-shfmt
|
||||||
|
rev: v3.6.0-2
|
||||||
|
hooks:
|
||||||
|
- id: shfmt
|
||||||
|
#- id: shfmt-docker
|
||||||
|
|
||||||
# .editorconfig validity checking
|
# .editorconfig validity checking
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
rev: "2.7.1"
|
rev: "2.7.1"
|
||||||
|
6
install
6
install
@ -41,13 +41,11 @@ if hash pre-commit 2>/dev/null; then
|
|||||||
pre-commit gc
|
pre-commit gc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $HOME/.MIKAELAGREP ]
|
if [ -f $HOME/.MIKAELAGREP ]; then
|
||||||
then
|
|
||||||
mv $HOME/.MIKAELAGREP $MIKAELA_GREP
|
mv $HOME/.MIKAELAGREP $MIKAELA_GREP
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$MIKAELA_GREP" ]
|
if [ -f "$MIKAELA_GREP" ]; then
|
||||||
then
|
|
||||||
bash -x .mikaela_install
|
bash -x .mikaela_install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user