diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-12 09:10:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-12 09:10:10 +0300 |
commit | 09acddd7fd2b59afa69eca95b1e34739e1f1b31b (patch) | |
tree | 3376c27fb8183ad2af565706677736d267281c83 /lefthook.yml | |
parent | bb01b338bfbc6e17996696145e6c495694b8f745 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lefthook.yml')
-rw-r--r-- | lefthook.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lefthook.yml b/lefthook.yml index 7a3c7e5d174..f29de0a791d 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -44,7 +44,7 @@ pre-push: tags: backend style files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD glob: '*.{rb,rake}' - run: REVEAL_RUBOCOP_TODO=0 bundle exec rubocop --parallel --force-exclusion {files} + run: REVEAL_RUBOCOP_TODO=0 bundle exec rubocop --config .rubocop.yml --parallel --force-exclusion {files} sidekiq-queues: tags: backend files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD @@ -134,7 +134,7 @@ auto-fix: tags: backend style files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD glob: '*.{rb,rake}' - run: REVEAL_RUBOCOP_TODO=0 bundle exec rubocop --parallel --autocorrect --force-exclusion {files} + run: REVEAL_RUBOCOP_TODO=0 bundle exec rubocop --config .rubocop.yml --parallel --autocorrect --force-exclusion {files} gettext: tags: backend frontend view haml files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD | while read file;do git diff --unified=1 $(git merge-base origin/master HEAD)..HEAD $file | grep -Fqe '_(' && echo $file;done; true |