Skip to content

Commit 8ea3b35

Browse files
committed
Add step to pre-commit that inserts or updates Apache v2 license header
1 parent 594ec1c commit 8ea3b35

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ repos:
1313
- id: requirements-txt-fixer
1414
exclude: ^requirements-dev\.txt$
1515
- id: trailing-whitespace
16+
- repo: https://github.com/lucianopaz/head_of_apache
17+
rev: "0.0.3"
18+
hooks:
19+
- id: head_of_apache
20+
args:
21+
- --author=The PyMC Developers
22+
- --exclude=docs/
23+
- --exclude=scripts/
24+
- --exclude=binder/
25+
- --exclude=versioneer.py
1626
- repo: https://github.com/PyCQA/isort
1727
rev: 5.12.0
1828
hooks:

0 commit comments

Comments
 (0)