From c3b4c1407051cda4421914921947f17de3101c6b Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Fri, 10 Nov 2023 15:36:27 +0000 Subject: [PATCH] test(rubocop): switch to using `pre-commit`'s built-in file filtering * only run `rubocop` when relevant files have changed --- .pre-commit-config.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5beebf2..01e4346 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,8 +31,6 @@ repos: - id: rubocop name: Check Ruby files with rubocop args: [--debug] - always_run: true - pass_filenames: false - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.9.0.6 hooks: