From b5c17b03e3b22e17f148433b5045839c005ccd04 Mon Sep 17 00:00:00 2001 From: Lewis <15088984+lewis-wf@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:38:55 +0000 Subject: [PATCH] Add `ltd.` with a full-stop to the Limited list This fixes a bug where `ltd.` was not being picked up when matching by type. A better solution would be making the search agnostic on ending full stops, potentially. --- cleanco/termdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanco/termdata.py b/cleanco/termdata.py index 0af705c..9215cbd 100644 --- a/cleanco/termdata.py +++ b/cleanco/termdata.py @@ -12,7 +12,7 @@ 'yoaj', 'oaj', 'akc. spol.', 'a.s.' ], 'Joint Venture': ['esv', 'gie', 'kv.', 'qk'], - 'Limited': ['pty. ltd.', 'pty ltd', 'ltd', 'l.t.d.', 'bvba', 'd.o.o.', 'ltda', 'gmbh', + 'Limited': ['pty. ltd.', 'pty ltd', 'ltd', 'ltd.', 'l.t.d.', 'bvba', 'd.o.o.', 'ltda', 'gmbh', 'g.m.b.h', 'kft.', 'kht.', 'zrt.', 'ehf.', 's.a.r.l.', 'd.o.o.e.l.', 's. de r.l.', 'b.v.', 'tapui', 'sp. z.o.o.', 'sp. z o.o.', 'spółka z o.o.',