autogen/.pre-commit-config.yaml
Zvi Baratz 8e3fccf592
Updated hooks (#609)
Updated the flake8 hook and black's version, closes #608.

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2022-06-25 13:46:28 -04:00

21 lines
508 B
YAML

repos:
- repo: https://github.com/psf/black
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: v4.3.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-byte-order-marker
- id: check-merge-conflict
- id: detect-private-key
- id: trailing-whitespace
- id: no-commit-to-branch