Skip to content

Commit 953f66c

Browse files
committed
Make check_files.py ignore .svg files
There are some .svg files in the docs directory. They are text files and some lines have Unix line endings, some of them have Windows. This is picked up by check_files.py and makes it fail. We mark .svg files in the docs directory as binary to have them ignored. This is acceptable because these files are generated and shouldn't be edited manually. Signed-off-by: Janos Follath <janos.follath@arm.com>
1 parent 0eb33b9 commit 953f66c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/scripts/check_files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def output_file_issues(self, logger):
111111

112112
BINARY_FILE_PATH_RE_LIST = [
113113
r'docs/.*\.pdf\Z',
114+
r'docs/.*\.svg\Z',
114115
r'programs/fuzz/corpuses/[^.]+\Z',
115116
r'tests/data_files/[^.]+\Z',
116117
r'tests/data_files/.*\.(crt|csr|db|der|key|pubkey)\Z',

0 commit comments

Comments
 (0)