From a3e1e0d429bcac3a623fc8b9e0c966321fcee527 Mon Sep 17 00:00:00 2001 From: Akarshan Kapoor Date: Thu, 27 Jun 2024 15:28:49 +0000 Subject: [PATCH] Update check_compliance.py Add the "server/django/staticfiles/img/" directory. Signed-off-by: Akarshan Kapoor --- utils/ci/check_compliance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ci/check_compliance.py b/utils/ci/check_compliance.py index ce271319..826af374 100644 --- a/utils/ci/check_compliance.py +++ b/utils/ci/check_compliance.py @@ -458,7 +458,7 @@ class BinaryFiles(ComplianceTest): path_hint = "" def run(self): - BINARY_ALLOW_PATHS = ("doc/", "boards/", "samples/") + BINARY_ALLOW_PATHS = ("doc/", "boards/", "samples/", "server/django/staticfiles/img/") # svg files are always detected as binary, see .gitattributes BINARY_ALLOW_EXT = (".jpg", ".jpeg", ".png", ".svg", ".webp")