Skip to content

Commit

Permalink
ci: check compliance: allow Portable Document Files (PDF)
Browse files Browse the repository at this point in the history
Support binary artifacts with file suffix ".pdf".

Signed-off-by: Stephan Linz <[email protected]>
  • Loading branch information
rexut committed Nov 18, 2024
1 parent 8717fcf commit 0697f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/check_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ class BinaryFiles(ComplianceTest):
def run(self):
BINARY_ALLOW_PATHS = ("doc/", "boards/", "samples/")
# svg files are always detected as binary, see .gitattributes
BINARY_ALLOW_EXT = (".bmp", ".fzpz", ".fzz", ".gif", ".jpg", ".jpeg", ".png", ".svg", ".webp")
BINARY_ALLOW_EXT = (".bmp", ".fzpz", ".fzz", ".gif", ".jpg", ".jpeg", ".pdf", ".png", ".svg", ".webp")

for stat in git("diff", "--numstat", "--diff-filter=A",
COMMIT_RANGE).splitlines():
Expand Down

0 comments on commit 0697f5f

Please sign in to comment.