Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -136,6 +136,7 @@ alias obsolete='aptitude search ?obsolete' ...@@ -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 occ='docker --host=ssh://host01.shore.co.il exec -itu www-data nextcloud_nextcloud_1 ./occ'
alias pip2='python2 -m pip' alias pip2='python2 -m pip'
alias pip3='python3 -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' alias presentation='docker dev registry.shore.co.il/presentation'
# shellcheck disable=SC2139 # shellcheck disable=SC2139
alias rc_make="make --directory $HOME --always-make" alias rc_make="make --directory $HOME --always-make"
......
...@@ -47,12 +47,12 @@ repos: ...@@ -47,12 +47,12 @@ repos:
- id: yamllint - id: yamllint
- repo: https://github.com/executablebooks/mdformat.git - repo: https://github.com/executablebooks/mdformat.git
rev: 0.7.9 rev: 0.7.10
hooks: hooks:
- id: mdformat - id: mdformat
- repo: https://github.com/ambv/black.git - repo: https://github.com/ambv/black.git
rev: 21.8b0 rev: 21.9b0
hooks: hooks:
- id: black - id: black
args: args:
...@@ -70,7 +70,7 @@ repos: ...@@ -70,7 +70,7 @@ repos:
- id: rstcheck - id: rstcheck
- repo: https://github.com/PyCQA/prospector.git - repo: https://github.com/PyCQA/prospector.git
rev: 1.5.1b0 rev: 1.5.1
hooks: hooks:
- id: prospector - id: prospector
args: args:
...@@ -117,11 +117,10 @@ repos: ...@@ -117,11 +117,10 @@ repos:
- id: validate_manifest - id: validate_manifest
- repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git
rev: v0.1.0 rev: v0.2.0
hooks: hooks:
- id: shell-validate - id: shell-validate
- id: ansible-syntax-check - id: ansible-syntax-check
- id: ansible-vault-check
- id: terraform-fmt - id: terraform-fmt
- id: terraform-validate - id: terraform-validate
- id: poetry-check - id: poetry-check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment