Skip to content

Commit

Permalink
Reduces files to the built-in makefile type for pre-commit
Browse files Browse the repository at this point in the history
As nudged [here][1], but this won't be fully effective until pre-commit/identify#353 is merged.

I think this is safe because so few people use `*.make`... I think I've seen it maybe a few times in 20 years.

[1]: pre-commit/pre-commit.com#756 (comment)
  • Loading branch information
colindean committed Dec 19, 2022
1 parent 4e37f3a commit f874f36
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .pre-commit-hooks.yaml
Expand Up @@ -3,9 +3,4 @@
entry: checkmake
language: golang
pass_filenames: true
files: |
(?x)^(
(GNU)?[Mm]akefile|
.*\.mk|
.*\.make
)$
types: [makefile]

0 comments on commit f874f36

Please sign in to comment.