According to the skosify.check.preflabel_uniqueness docstring, the method supports four values for the "policy" parameter:
- 'shortest' (keep the shortest label),
- 'longest' (keep the longest label),
- 'uppercase' (prefer uppercase),
- 'lowercase' (prefer uppercase) or
- 'all' (keep all, just log the problems)
I have created a gist which shows:
preflabel_uniqueness(n, policy='longest') works as expected
preflabel_uniqueness(n, policy='all') gets an error message: CRITICAL:root:Unknown preflabel-policy: all