Skip to content

Commit

Permalink
gitattributes: Tell linguist to ignore test pattern files
Browse files Browse the repository at this point in the history
Tell GitHub linguist to ignore the `.pat` generated test pattern files
that are used by the CMSIS-DSP tests (and potentially others as well,
in the future).

This prevents GitHub from classifying them as "Max language" in the
language statistics.

Signed-off-by: Stephanos Ioannidis <[email protected]>
  • Loading branch information
stephanosio authored and nashif committed Apr 23, 2020
1 parent 0f557de commit 88259bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
.gitattributes export-ignore
.gitignore export-ignore
.mailmap export-ignore

# Tell linguist that generated test pattern files should not be included in the
# language statistics.
*.pat linguist-generated=true

0 comments on commit 88259bb

Please sign in to comment.