diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 161ea7e..ed6e151 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,26 +1,28 @@ --- default_language_version: python: python3 - node: "14.16.0" + node: "16.19.1" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.9-for-vscode + rev: v4.0.0-alpha.5 hooks: - id: prettier stages: [commit] - - repo: https://github.com/jorisroovers/gitlint - rev: v0.19.1 - hooks: - - id: gitlint + # - repo: https://github.com/jorisroovers/gitlint + # rev: v0.19.1 + # hooks: + # - id: gitlint + # additional_dependencies: ["./gitlint-core[trusted-deps]"] + # entry: gitlint - repo: https://github.com/adrienverge/yamllint.git - rev: v1.31.0 + rev: v1.33.0 hooks: - id: yamllint exclude: > diff --git a/tox.ini b/tox.ini index 15c870d..001a3ff 100644 --- a/tox.ini +++ b/tox.ini @@ -34,7 +34,6 @@ commands = /bin/sh -c "if [ -f .git/COMMIT_EDITMSG ]; then \ cp .git/COMMIT_EDITMSG .git/COMMIT_MSGTOX; else \ git log HEAD -n1 --pretty=%B > .git/COMMIT_MSGTOX; fi" - pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_MSGTOX /bin/sh -c "rm -f .git/COMMIT_MSGTOX" /bin/sh -c "if [ -f .git/REMOVE_USERNAME ]; then \ git config --global --unset user.name; \