aboutcode-org / aboutcode-org/univers

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

オープン
#43 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。