From 7716ac6784e3718d79e5cee13e4f729b434a17cd Mon Sep 17 00:00:00 2001 From: Jon Meow <46229924+jonmeow@users.noreply.github.com> Date: Thu, 8 Apr 2021 09:01:35 -0700 Subject: [PATCH] Update pre-commit (#439) --- .github/workflows/pre-commit.yaml | 6 +++--- .pre-commit-config.yaml | 4 ++-- WORKSPACE | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 2b57f0acf90a..6b1c55daacd2 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -13,8 +13,8 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - - uses: pre-commit/action@v2.0.0 + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: pre-commit/action@v2.0.2 env: SKIP: bazel-buildifier,clang-format-whole-file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01f1fe8480fd..11c84899bf09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -75,7 +75,7 @@ repos: hooks: - id: black - repo: https://github.com/jlebar/pre-commit-hooks.git - rev: 349213c5414e360385e74f04964e6d5c43cdad36 + rev: 07a539b8db43298f124ace23c90b4b871911b8c4 hooks: - id: bazel-buildifier - id: clang-format-whole-file @@ -87,7 +87,7 @@ repos: exclude: ^website/jekyll/theme/ # Run linters last, as formatters and other checks may fix issues. - repo: https://gitlab.com/PyCQA/flake8 - rev: bb6a530e28acab8d3551043b3e8709db8bcbac6b # frozen: 3.8.4 + rev: 56370aae451722f9d77a5ccd6fb6e231a4a8e651 # frozen: 3.9.0 hooks: - id: flake8 diff --git a/WORKSPACE b/WORKSPACE index b976dad12821..a5842c28656c 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -17,8 +17,8 @@ load("@rules_python//python:pip.bzl", "pip_install") # Create a central repo that knows about the pip dependencies. pip_install( - name = "py_deps", - requirements = "//github_tools:requirements.txt", + name = "py_deps", + requirements = "//github_tools:requirements.txt", ) # Bootstrap a Clang and LLVM toolchain.