From 7780db4692142aad6882d22dd9a561122120aaff Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Wed, 30 Oct 2024 13:43:20 +0100 Subject: [PATCH] Update rpminspect config with unicode rules Related: RHEL-61964 --- rpminspect.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/rpminspect.yaml b/rpminspect.yaml index 3567b3f..b439426 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -10,3 +10,20 @@ doc: # Doc inspection generates massive output which crash RHEL CI ignore: - /usr/share/doc/rust/html/* + +unicode: + ignore: + # These files are known to contain forbidden unicode chars as + # they are tests for those. + - rustc-*-src/tests/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs + - rustc-*-src/tests/ui/parser/unicode-control-codepoints.rs + - rustc-*-src/compiler/rustc_lint/src/hidden_unicode_codepoints.rs + - rustc-*-src/compiler/rustc_lint_defs/src/builtin.rs + - rustc-*-src/vendor/idna/tests/IdnaTestV2.txt + - rustc-*-src/vendor/idna-*/tests/IdnaTestV2.txt + - rustc-*-src/vendor/mdbook*/tests/dummy_book/src/first/unicode.md + - rustc-*-src/vendor/mdbook*/tests/searchindex_fixture.json + - rustc-*-src/vendor/wast-*/tests/parse-fail/confusing-string?.wat + - rustc-*-src/vendor/wast-*/tests/parse-fail/confusing-block-comment?.wat + - rustc-*-src/vendor/wast-*/tests/parse-fail/confusing-line-comment?.wat + - rustc-*-src/src/llvm-project/clang-tools-extra/docs/clang-tidy/checks/misc/misleading-bidirectional.rst