summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-12-27 15:34:06 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-27 21:25:27 +0100
commit51bcfb5a44ebedc319bb8dc66dfe814f936e5e83 (patch)
treec47b89dfcbad76f4416eeb3e87768203e9be2720 /.pre-commit-config.yaml
parenta56b3cbf7cb7968e9eac93272b829002dd36ce15 (diff)
downloadserenity-51bcfb5a44ebedc319bb8dc66dfe814f936e5e83.zip
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'.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml1
1 files changed, 0 insertions, 1 deletions
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