MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / get_normalized_ignorables

Function get_normalized_ignorables

src/licensedcode/models.py:2959–2969  ·  view source on GitHub ↗

Return a sorted mapping of ignorables built from a licensish Rule or License.

(licensish)

Source from the content-addressed store, hash-verified

2957
2958
2959def get_normalized_ignorables(licensish):
2960 """
2961 Return a sorted mapping of ignorables built from a licensish Rule or License.
2962 """
2963 return build_ignorables_mapping(
2964 copyrights=licensish.ignorable_copyrights,
2965 holders=licensish.ignorable_holders,
2966 authors=licensish.ignorable_authors,
2967 urls=licensish.ignorable_urls,
2968 emails=licensish.ignorable_emails,
2969 )
2970
2971
2972def build_ignorables_mapping(copyrights, holders, authors, urls, emails):

Callers 2

has_ignorable_changesFunction · 0.90
_ignorable_clue_errorFunction · 0.85

Calls 1

build_ignorables_mappingFunction · 0.85

Tested by

no test coverage detected