diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd228ba7fd5e8c3e145946cea28bbb2e697432f5..33cdb38436389e2cc32392d2950713cda33b55ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: exclude: LICENSE - repo: https://github.com/executablebooks/mdformat.git - rev: 0.5.3 + rev: 0.7.9 hooks: - id: mdformat @@ -45,6 +45,7 @@ repos: rev: v0.6.0 hooks: - id: shell-lint + exclude: \.bats$ - repo: https://github.com/shellcheck-py/shellcheck-py.git rev: v0.7.1.1 diff --git a/tests/merge-conflict.bats b/tests/merge-conflict.bats index e2a1b07538de1b32e1fb0e58004b147adc7160fa..99be5b17f7ebb370274c4bbf5790bcc985e77855 100644 --- a/tests/merge-conflict.bats +++ b/tests/merge-conflict.bats @@ -5,6 +5,7 @@ setup () { if [ ! -f "$repo/file" ] then git init "$repo" + # shellcheck disable=SC2164 cd "$repo" git config user.name "Your Name" git config user.email "name@example.com"