Jon Meow 5 лет назад
Родитель
Сommit
7716ac6784
3 измененных файлов с 7 добавлено и 7 удалено
  1. 3 3
      .github/workflows/pre-commit.yaml
  2. 2 2
      .pre-commit-config.yaml
  3. 2 2
      WORKSPACE

+ 3 - 3
.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

+ 2 - 2
.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
 

+ 2 - 2
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.