提交 b73abda5 authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Update pre-commit hooks

上级 3aff3d2f
...@@ -7,7 +7,7 @@ exclude: | ...@@ -7,7 +7,7 @@ exclude: |
)$ )$
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0 rev: v4.3.0
hooks: hooks:
- id: debug-statements - id: debug-statements
exclude: | exclude: |
...@@ -20,16 +20,16 @@ repos: ...@@ -20,16 +20,16 @@ repos:
)$ )$
- id: check-merge-conflict - id: check-merge-conflict
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 22.8.0
hooks: hooks:
- id: black - id: black
language_version: python3 language_version: python3
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4 rev: 3.9.2
hooks: hooks:
- id: flake8 - id: flake8
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.6.4 rev: 5.10.1
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/humitos/mirrors-autoflake.git - repo: https://github.com/humitos/mirrors-autoflake.git
...@@ -47,7 +47,7 @@ repos: ...@@ -47,7 +47,7 @@ repos:
)$ )$
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961 rev: v0.971
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: additional_dependencies:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论