diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae96f7d8..e05ef3bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ check-commits: stage: test image: registry.gitlab.com/kernel-firmware/linux-firmware rules: - - if: $CI_MERGE_REQUEST_ID + - if: $CI_MERGE_REQUEST_ID script: - ci-fairy check-commits --signed-off-by --textwidth=0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a49d063..370a2970 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,30 +1,30 @@ default_stages: [commit] repos: -- repo: https://github.com/pre-commit/pre-commit-hooks + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - - id: check-executables-have-shebangs - - id: forbid-new-submodules - - id: check-yaml - - id: check-symlinks - - id: destroyed-symlinks -- repo: https://github.com/shellcheck-py/shellcheck-py + - id: check-executables-have-shebangs + - id: forbid-new-submodules + - id: check-yaml + - id: check-symlinks + - id: destroyed-symlinks + - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.9.0.5 hooks: - - id: shellcheck -- repo: https://github.com/ambv/black + - id: shellcheck + - repo: https://github.com/ambv/black rev: 22.6.0 hooks: - - id: black -- repo: https://github.com/igorshubovych/markdownlint-cli + - id: black + - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.33.0 hooks: - - id: markdownlint - args: ['--fix'] -- repo: local + - id: markdownlint + args: ['--fix'] + - repo: local hooks: - - id: check-whence - name: Check whence - files: 'WHENCE' - language: script - entry: ./check_whence.py + - id: check-whence + name: Check whence + files: 'WHENCE' + language: script + entry: ./check_whence.py