-
Notifications
You must be signed in to change notification settings - Fork 11
Add mypy pre-commit #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mypy pre-commit #140
Changes from 14 commits
7c3c258
b2d7fa0
562db6e
874c23d
7f5d70c
dcfcb37
45aecf4
77ff0f8
aaaf6b2
abc2f7a
c8618b5
40d3dcc
afb8af2
b91c14a
5fc31f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,5 @@ | ||
| # GitHub syntax highlighting | ||
| pixi.lock linguist-language=YAML | ||
| *.py text eol=lf | ||
| *.yaml text eol=lf | ||
| *.yml text eol=lf |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,8 +26,6 @@ def __init__(self, bytes=None): | |
| self.__dict__.update(instance.__dict__) | ||
| self.__class__ = instance.__class__ | ||
|
|
||
| __hash__ = None | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even if this is causing errors, leave it in for now. I don't know the intention and we should probably address it in another PR to fill it with a proper
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should open an issue BTW, so we don't forget to address it later.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! I restored it and opened an issue to track implementing a proper hash in a follow-up PR. |
||
|
|
||
| def __eq__(self, other): | ||
| if not isinstance(other, Selector): | ||
| return NotImplemented | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we know no one looked at these benchmark 😬