From 51bcfb5a44ebedc319bb8dc66dfe814f936e5e83 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 27 Dec 2020 15:34:06 +0100 Subject: Meta: Update lint-{clang-format,shell-scripts}.sh to take a list of files This should speed up pre-commit a bit as only files that are staged will be processed, and clang-format and shellcheck are only invoked once, not for every file. When no arguments are given (e.g. on CI), it still uses 'git ls-files'. --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1763a5e4cb..4d4f8bc864 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,4 +5,3 @@ repos: name: Running Meta/lint-ci.sh to ensure changes will pass linting on CI entry: bash Meta/lint-ci.sh language: system - pass_filenames: false -- cgit v1.2.3