Skip to content

Conversation

@hynek
Copy link
Member

@hynek hynek commented Aug 21, 2020

By setting eq to True by default, it forces __eq__/__ne__ to be written. Setting to None fixes it.

fixes #670

@hynek hynek merged commit 358c85e into master Aug 21, 2020
@hynek hynek deleted the auto-detect-eq branch August 21, 2020 03:19
hynek added a commit that referenced this pull request Aug 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@attr.define fails to auto-detect __eq__

2 participants