From da37216bc557a4a414642aaf0573bbf8a405ba7c Mon Sep 17 00:00:00 2001 From: Jan Koritak Date: Thu, 1 Oct 2020 09:46:11 +0200 Subject: [PATCH] feat: add normalisations for bsd-like and bsd-style licenses --- license_sh/normalizer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/license_sh/normalizer.py b/license_sh/normalizer.py index a8ad178..b94caab 100644 --- a/license_sh/normalizer.py +++ b/license_sh/normalizer.py @@ -77,6 +77,10 @@ def normalize(license: str) -> Tuple[str, bool]: "ALv2": "Apache-2.0", # BSD "BSD License": "BSD", + "BSD-like": "BSD", + "BSD-style": "BSD", + "BSD like": "BSD", + "BSD style": "BSD", # BSD-2-Clause "Simplified BSD License": "BSD-2-Clause", "FreeBSD License": "BSD-2-Clause",