From: Andrew Grimberg Date: Fri, 7 May 2021 18:50:36 +0000 (-0700) Subject: CI: Update pre-commit versions X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F67633%2F1;p=releng%2Fdocs.git CI: Update pre-commit versions Update versions of checks being used by pre-commit Signed-off-by: Andrew Grimberg Change-Id: I778aacac10d49b32ab285d6f9b011c516315ff40 --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 64926ba..4e73e86 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.1.0 + rev: v3.4.0 hooks: - id: check-executables-have-shebangs - id: check-merge-conflict @@ -12,30 +12,30 @@ repos: - id: trailing-whitespace - repo: https://github.com/jorisroovers/gitlint - rev: v0.13.1 + rev: v0.15.1 hooks: - id: gitlint - repo: https://github.com/ambv/black - rev: 20.8b1 + rev: 21.5b0 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.3 + rev: 3.9.1 hooks: - id: flake8 args: ["--max-line-length=88"] - repo: https://github.com/pycqa/bandit - rev: 1.6.2 + rev: 1.7.0 hooks: - id: bandit # Bandit does not need to run on test code exclude: tests/* - repo: https://github.com/pycqa/pydocstyle - rev: 5.0.2 + rev: 6.0.0 hooks: - id: pydocstyle