diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3720b9aaceb..e0a3395e7ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,9 +41,10 @@ repos: # Checks that large files have not been added. Default cut-off for "large" files is 500kb. - id: check-added-large-files # POFiles and TTF fonts can't be made smaller + # XLIFF files can be moved here from exclude when pre-commit/identify#558 is released. exclude_types: ["pofile", "ttf"] - # Same applies for NVDA dictionary (.dic) files and Spline Font Database (.SFD) files, but these aren't recognised by the Identify library. - exclude: "\\.(dic|sfd)$" + # Same applies for XLIFF, NVDA dictionary (.dic) files and Spline Font Database (.SFD) files, but these aren't recognised by the Identify library. + exclude: "\\.(dic|sfd|xliff)$" # Checks python syntax - id: check-ast # Checks for filenames that will conflict on case insensitive filesystems (the majority of Windows filesystems, most of the time)