Commit 53845eb0 authored by nimrod's avatar nimrod
Browse files

Update pre-commit hooks in the skeleton directory.

Also, a shell alias for updating that file.
parent f182f8fe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -136,6 +136,7 @@ alias obsolete='aptitude search ?obsolete'
alias occ='docker --host=ssh://host01.shore.co.il exec -itu www-data nextcloud_nextcloud_1 ./occ'
alias pip2='python2 -m pip'
alias pip3='python3 -m pip'
alias pre-commit-update-skel='pre-commit autoupdate --config ~/.config/git/skel/.pre-commit-config.yaml'
alias presentation='docker dev registry.shore.co.il/presentation'
# shellcheck disable=SC2139
alias rc_make="make --directory $HOME --always-make"
+4 −5
Original line number Diff line number Diff line
@@ -47,12 +47,12 @@ repos:
      - id: yamllint

  - repo: https://github.com/executablebooks/mdformat.git
    rev: 0.7.9
    rev: 0.7.10
    hooks:
      - id: mdformat

  - repo: https://github.com/ambv/black.git
    rev: 21.8b0
    rev: 21.9b0
    hooks:
      - id: black
        args:
@@ -70,7 +70,7 @@ repos:
      - id: rstcheck

  - repo: https://github.com/PyCQA/prospector.git
    rev: 1.5.1b0
    rev: 1.5.1
    hooks:
      - id: prospector
        args:
@@ -117,11 +117,10 @@ repos:
      - id: validate_manifest

  - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
    rev: v0.1.0
    rev: v0.2.0
    hooks:
      - id: shell-validate
      - id: ansible-syntax-check
      - id: ansible-vault-check
      - id: terraform-fmt
      - id: terraform-validate
      - id: poetry-check