blob: 55d630f56198acd077fb11c3e3385be4cd3a298a [file] [log] [blame]
Eric Kunze2364dcd2021-04-26 11:06:57 -07001# See https://pre-commit.com for more information
2# See https://pre-commit.com/hooks.html for more hooks
3repos:
4#- repo: https://github.com/asottile/reorder_python_imports
5# rev: v2.2.0
6# hooks:
7# - id: reorder-python-imports
8
9 #- repo: https://github.com/psf/black
10 #j.rev: 20.8b1
11 #j.hooks:
12 #j.- id: black
13
14- repo: https://gitlab.com/pycqa/flake8
15 rev: 3.7.9
16 hooks:
17 - id: flake8
18 exclude: python/tosa
19 args: [--max-line-length=88, --extend-ignore=E203]
20
21- repo: https://github.com/psf/black
22 rev: 20.8b1
23 hooks:
24 - id: black
25 exclude: python/tosa
26
27- repo: local
28 hooks:
29 - id: clang-format
30 name: clang-format
31 exclude: tosa_generated.h|build|third_party
32 language: system
33 entry: clang-format
34 types: ["c++"]
35 args: ["-i"]