From e3570668928a5506fba2d0e8e70820aa45150b79 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Thu, 15 Jun 2023 14:19:59 +0200 Subject: [PATCH] Change: Revert "Change: Temporarily disable --hard-encoding-detection due to an issue in codespell 2.2.4" --- troubadix/plugins/spelling.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/troubadix/plugins/spelling.py b/troubadix/plugins/spelling.py index 1a44b647..c704a7b2 100644 --- a/troubadix/plugins/spelling.py +++ b/troubadix/plugins/spelling.py @@ -210,8 +210,7 @@ def run(self) -> Iterator[LinterResult]: for nasl_file in self.context.nasl_files[i : i + batch_size] ] codespell_arguments = [ - # nb: Temporarily disabled due to an issue in codespell 2.2.4. - # "--hard-encoding-detection", + "--hard-encoding-detection", "--dictionary=-", f"--dictionary={codespell_additions}", f"--exclude-file={codespell_exclude}",