Skip to content

Commit 8bd6dba

Browse files
committed
Specify filetypes in pre-commit config (#13)
1 parent c76df03 commit 8bd6dba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ repos:
1717
name: check-copyright
1818
entry: python scripts/add_copyright.py --check
1919
language: python
20+
# add_copyright.py only supports these for now; update list and script
21+
# if more filetypes should be checked for copyright notices
22+
types: ["python", "toml", "yaml"]

0 commit comments

Comments
 (0)