diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ef1ae4a16a..b3bedc8d026 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -119,6 +119,20 @@ repos: hooks: - id: editorconfig-checker args: [--fix] + - repo: local + hooks: + - id: forbid-hidden-unicode + name: forbid hidden Unicode characters + description: >- + Reject invisible characters (soft hyphen, zero-width characters, + bidirectional controls, byte order mark), which editorconfig-checker + does not detect and which Renovate warns about. Translation files + are excluded because they legitimately contain some of them. + language: pygrep + entry: >- + \xc2\xad|\xe2\x80[\x8b-\x8f\xaa-\xae]|\xe2\x81[\xa0-\xa4\xa6-\xa9]|\xef\xbb\xbf + types: [text] + exclude: ^locale/po/ - repo: https://github.com/codespell-project/codespell rev: v2.4.2 hooks: diff --git a/imagery/i.svm.predict/i.svm.predict.html b/imagery/i.svm.predict/i.svm.predict.html index f0dbcf511cb..758e445a5e1 100644 --- a/imagery/i.svm.predict/i.svm.predict.html +++ b/imagery/i.svm.predict/i.svm.predict.html @@ -61,7 +61,7 @@

REFERENCES