From: Mattia Rizzolo Date: Thu, 19 Sep 2024 17:31:55 +0200 Subject: Make the build reproducible: assure stable order, use a tuple instead of a set Signed-off-by: Mattia Rizzolo --- src/charset_normalizer/md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charset_normalizer/md.py b/src/charset_normalizer/md.py index b41d9cf..930c71d 100644 --- a/src/charset_normalizer/md.py +++ b/src/charset_normalizer/md.py @@ -544,7 +544,7 @@ class SuperWeirdWordPlugin(MessDetectorPlugin): self._buffer_glyph_count = 0 self._buffer_upper_count = 0 elif ( - character not in {"<", ">", "-", "=", "~", "|", "_"} + character not in ("<", ">", "-", "=", "~", "|", "_") and not info.digit and info.sym ):