aboutcode-org / aboutcode-org/univers
Inconsistent use of `attr` parameter and `__eq__` in VersionConstraint
未關閉
2-next
bug
good first issue
- 主要語言
- Python
- 星號
- 50
- 分支
- 29
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。