diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 84d1610..68ebb7d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,12 +19,14 @@ repos: - id: check-case-conflict # Beautify shell scripts - - repo: https://github.com/lovesegfault/beautysh.git - rev: v6.2.1 - hooks: - - id: beautysh - exclude: (?x)^(tests/test_(.*))$ - args: [-i, "2"] + # Deactivated because of an issue with deprecated python dependencies. + # See https://github.com/lovesegfault/beautysh/issues/248 and its fix to re-activate + # - repo: https://github.com/lovesegfault/beautysh.git + # rev: v6.2.1 + # hooks: + # - id: beautysh + # exclude: (?x)^(tests/test_(.*))$ + # args: [-i, "2"] # Run local script - repo: local diff --git a/bash_unit b/bash_unit index 5fed890..4699fcc 100755 --- a/bash_unit +++ b/bash_unit @@ -33,7 +33,7 @@ CAT="$(type -P cat)" SED="$(type -P sed)" GREP="$(type -P grep)" RM="$(type -P rm)" -SHUF="$(type -P shuf)" +SHUF="$(type -P sort) -R" fail() { local message=${1:-}