Updated hooks (#609)

Updated the flake8 hook and black's version, closes #608.

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
Zvi Baratz
2022-06-25 20:46:28 +03:00
committed by GitHub
parent 7d6822aa40
commit 8e3fccf592

View File

@@ -1,14 +1,17 @@
repos:
- repo: https://github.com/psf/black
rev: stable
rev: 22.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
rev: v4.3.0
hooks:
- id: flake8
- id: check-added-large-files
- id: check-ast
- id: check-byte-order-marker