-
Notifications
You must be signed in to change notification settings - Fork 77
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
Change order of generic Result types to [T, E] #8
Conversation
This comment has been minimized.
This comment has been minimized.
The
|
@snorfalorpagus they already are: https://travis-ci.org/dbrgn/result/jobs/394025444#L538 You probably need to update mypy in your virtualenv. It's currently pinned to python/mypy@29889c8 which fixes some problems with classmethod overloads. |
I can have a go at finished up this PR if no one else is going to. Please advise on how to best take this over, I'm not sure of the workflow on github in such a situation. |
I think any work on this would be appreciated :)
…On Thu, Feb 20, 2020 at 8:04 PM francium ***@***.***> wrote:
I can have a go at finished up this PR if no one else is going to. Please
advise on how to best take this over, I'm not sure of the workflow on
github in such a situation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDJJ4X2BXKICUL3BTHZSJDRD4SCTANCNFSM4FFUUNOQ>
.
|
Yes, definitely, this is the last blocker for the next release, I'd say! I'll look through the PR today and will rebase it against master. I don't actually remember whether it even needs further work or whether I simply left it open for potential feedback and then forgot about it 🙂 Also, @francium, since you did some PR work in the last weeks, are you interested in becoming a co-maintainer? Unfortunately I have too many projects and can't give this library the attention it should have. |
d136b5e
to
f218cac
Compare
@francium invited you as collaborator! |
f218cac
to
d373d67
Compare
945ae2d
to
9f036b0
Compare
Hm, mypy doesn't like Python 3.4 anymore. I disabled type checking in CI for 3.4. |
This is the last version that can be installed on Python 3.4. However, running mypy does not work on Python 3.4 anymore, so exclude type checks in the Travis config.
9f036b0
to
8b55e8c
Compare
Ok, tests pass now and the PR should be feature-complete. @francium feel free to review, I can't request it from you yet as long as you haven't accepted the invite 🙂 |
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.
Excluded the typetest.py file from test coverage reporting to fix coverage regression. Otherwise, it looks good to me.
Ah, good point! Regarding workflow, I would prefer if PR owners are the only ones that push to the feature branch, otherwise it can happen that changes are accidentally overwritten due to a force push (e.g. after a rebase). Thanks for the review 🙂 Let's merge this. |
Makes sense. Sure thing. Was trying to be helpful, but I'll just leave a comment next time. |
No worries 🙂 Different projects handle that differently. |
This will fix #7.