aboutcode-org / aboutcode-org/univers

NotImplementedError returned instead of raised

Aperta
#144 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
50
Fork
29
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

There are some functions like `from_native` in the VersionRange base class that return this exception instead of raising it.

This leads to a TypeError when using it as `version in version_range.from_native(...)`, effectively attempting `__contains__` over an exception class

Is this intended?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.