From 4330620946d27087229643fe788a39edcf239c4e Mon Sep 17 00:00:00 2001 From: mbanon Date: Mon, 2 Dec 2024 15:27:18 +0000 Subject: [PATCH] Fix inconsistency in rules names not_too_long and missing_columns --- pyproject.toml | 2 +- src/monocleaner/hardrules.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cb10c2e..2e27414 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "monocleaner" -version = "1.6.2" +version = "1.6.3" requires-python = ">=3.8" authors = [ { name = "Prompsit Language Engineering", email = "info@prompsit.com" }, diff --git a/src/monocleaner/hardrules.py b/src/monocleaner/hardrules.py index 94cb0d2..f2fb110 100644 --- a/src/monocleaner/hardrules.py +++ b/src/monocleaner/hardrules.py @@ -286,12 +286,12 @@ def main(): else: logging.error(f" scol ({args.scol}) index above column number ({len(parts)}) on line {nline}") sentence = "" - tag = "c_missing_columns" + tag = "missing_columns" #continue if not args.dont_ignore_long and (len(line) > 1024): - tag = "c_not_too_long" + tag = "not_too_long" #continue if tag == "":