Skip to content

Commit

Permalink
Fix inconsistency in rules names not_too_long and missing_columns
Browse files Browse the repository at this point in the history
  • Loading branch information
mbanon committed Dec 2, 2024
1 parent 066750a commit 4330620
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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" },
Expand Down
4 changes: 2 additions & 2 deletions src/monocleaner/hardrules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "":
Expand Down

0 comments on commit 4330620

Please # to comment.