aboutcode-org / aboutcode-org/univers

Inconsistent use of `attr` parameter and `__eq__` in VersionConstraint

Đang mở
#43 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
2-next bug good first issue
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ả

For `__eq__` method to take effect, `eq=False` must be added as a attr parameter
https://github.com/nexB/univers/blob/7206c1fc35eb32d0006591e6defcc65ded40cfa0/src/univers/version_constraint.py#L123-L127
Something like this:
```python
@attr.s(frozen=True, repr=True, str=False, order=False, eq=False, hash=True)
```
Current attr paramaters:
https://github.com/nexB/univers/blob/7206c1fc35eb32d0006591e6defcc65ded40cfa0/src/univers/version_constraint.py#L55-L56

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.