Commit 6b72ff73 authored by Adrian DC's avatar Adrian DC
Browse files

chore(pre-commit): run 'codestyle', 'lint' and 'typings' jobs

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 8d4ba5f5
Loading
Loading
Loading
Loading
+28 −0
Changes for .pre-commit-config.yaml: 28 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -67,3 +67,31 @@ repos:
    rev: 1.1.0
    hooks:
      - id: prepare-commit-message

  # Repository: local-gcil
  - repo: local
    hooks:
      - id: local-gcil-codestyle
        name: check codestyle job with gcil
        description: Automatically run GitLab CI job with gcil (codestyle)
        stages:
          - pre-push
        entry: gcil
        args: ['codestyle']
        language: system
      - id: local-gcil-lint
        name: check lint job with gcil
        description: Automatically run GitLab CI job with gcil (lint)
        stages:
          - pre-push
        entry: gcil
        args: ['lint']
        language: system
      - id: local-gcil-typings
        name: check typings job with gcil
        description: Automatically run GitLab CI job with gcil (typings)
        stages:
          - pre-push
        entry: gcil
        args: ['typings']
        language: system