From ccb8267b7ad8bc9422e2d888ca47ef8589b37509 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 16 Sep 2021 21:15:15 +0300 Subject: [PATCH] Some fixups for pre-commit checks. --- .pre-commit-config.yaml | 3 ++- tests/merge-conflict.bats | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd228ba..33cdb38 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 e2a1b07..99be5b1 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" -- GitLab