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

Exclude certain files from pre-commit hooks

上级 b70039a8
...@@ -4,8 +4,21 @@ repos: ...@@ -4,8 +4,21 @@ repos:
hooks: hooks:
- id: black - id: black
language_version: python3 language_version: python3
exclude: |
(?x)^(
versioneer\.py|
theano/_version\.py|
doc/.*|
bin/.*
)$
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4 rev: 3.8.4
hooks: hooks:
- id: flake8 - id: flake8
exclude: |
(?x)^(
versioneer\.py|
theano/_version\.py|
doc/.*|
bin/.*
)$
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论