Update pre-commit (#439)

This commit is contained in:
Jon Meow
2021-04-08 09:01:35 -07:00
committed by GitHub
parent 1aeb559a51
commit 7716ac6784
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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.