diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e93b05d..0057530 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,35 +1,5 @@ repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + - repo: https://github.com/UCL-MIRSG/.github + rev: v0.18.0 hooks: - - id: check-added-large-files - - id: check-case-conflict - - id: check-docstring-first - - id: check-executables-have-shebangs - - id: check-merge-conflict - - id: check-yaml - - id: end-of-file-fixer - - id: fix-byte-order-marker - - id: mixed-line-ending - args: [--fix=lf] - - id: trailing-whitespace - - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.4 - hooks: - - id: forbid-tabs - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 - hooks: - - id: prettier - - repo: https://github.com/sirosen/check-jsonschema - rev: 0.26.3 - hooks: - - id: check-github-workflows - - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.9.0.5 - hooks: - - id: shellcheck - - repo: https://github.com/ansible-community/ansible-lint.git - rev: v6.18.0 - hooks: - - id: ansible-lint + - id: mirsg-hooks diff --git a/.yamllint b/.yamllint deleted file mode 100644 index febdbc8..0000000 --- a/.yamllint +++ /dev/null @@ -1,36 +0,0 @@ ---- -# Based on ansible-lint config -extends: default - -ignore: | - .direnv/ - -rules: - braces: - max-spaces-inside: 1 - level: error - brackets: - max-spaces-inside: 1 - level: error - colons: - max-spaces-after: -1 - level: error - commas: - max-spaces-after: -1 - level: error - comments: disable - comments-indentation: disable - document-start: disable - empty-lines: - max: 3 - level: error - hyphens: - level: error - indentation: disable - key-duplicates: enable - line-length: disable - new-line-at-end-of-file: disable - new-lines: - type: unix - trailing-spaces: disable - truthy: disable