local: exclude generated files from pre-commit (#57761)

This commit is contained in:
Jean-Hadrien Chabran 2023-10-20 10:19:40 +02:00 committed by GitHub
parent 39a12bcd7b
commit 1f60607c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
exclude: ^(.*).snap$
exclude: (^.*\.snap$)|(^internal/database/.*\.json)|(^migrations/[^/]+/squashed\.sql)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0