Skip to content

Commit 4330620

Browse files
committed
Fix inconsistency in rules names not_too_long and missing_columns
1 parent 066750a commit 4330620

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "monocleaner"
3-
version = "1.6.2"
3+
version = "1.6.3"
44
requires-python = ">=3.8"
55
authors = [
66
{ name = "Prompsit Language Engineering", email = "info@prompsit.com" },

src/monocleaner/hardrules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,12 @@ def main():
286286
else:
287287
logging.error(f" scol ({args.scol}) index above column number ({len(parts)}) on line {nline}")
288288
sentence = ""
289-
tag = "c_missing_columns"
289+
tag = "missing_columns"
290290
#continue
291291

292292

293293
if not args.dont_ignore_long and (len(line) > 1024):
294-
tag = "c_not_too_long"
294+
tag = "not_too_long"
295295
#continue
296296

297297
if tag == "":

0 commit comments

Comments
 (0)