aboutcode-org / aboutcode-org/univers

NotImplementedError returned instead of raised

Đang mở
#144 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
50
Fork
29
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.