-
Notifications
You must be signed in to change notification settings - Fork 1
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
Migrate valid bugs and notable feature requests from the original darglint
repository.
#26
Comments
darglint
repository.
Wow @real-yfprojects, this is a great effort! Let me know how I can best help. |
Pls, review my decisions (selected issues + those ruled out issues that are unchecked) Edit: And pls have a look at the remaining PR |
I took a look at terrencepreilly/darglint#206. I guess darglint doesn't behave in an expected way if the docstring has an empty definition for the type of a function argument? The PR seems to skip such cases and leave the type empty, whereas you seem to suggest making an empty type an error. I would agree with you: either the type should be omitted, or it should match the annotation. Did I understand this correctly? One thing that comes to mind is whether some of the docstring formats cause arguments to have an empty type if you only annotate them but don't specify the type in the docstring? Anyway, this seems like a behavior which should be addressed, but perhaps in a different way than the original PR? |
So @real-yfprojects is your plan to basically mass migrate all issues and PRs, leaving out just ones that obviously don't make sense? I guess the alternative approach would be to really cherry pick the few most relevant issues/PRs and treat the original darglint repository as an archive from which to migrate more of them as time permits. Which approach to pick I think largely depends on how much you're willing to put time and effort into it. It's superb if we can indeed migrate all still relevant issues&PRs and even improve them while doing it. I can (and love to) contribute sporadically as may day job, family and stress levels permit, but I won't be able to put time into this daily or even weekly in a consistent way. |
When there is a type hint in the signature the type should show up in the docstring. However darglint2 could use a new error code for that so that one can ignore the empty type case.
Exactly. |
I am currently going through them, trying to reproduce them and selecting the issues I would like to see fixed. Afterwards we can manually migrate one issue at a time whenever we want to solve one. Alternatively we could use a script to mass migrate them. |
Great! In that case it would be easiest for me to contribute to the effort by reviewing the migrated issues one by one as you migrate them. |
That's not a problem. I will work on the given issues (although only as much as my free time permits). |
It seems like there is already |
Currently I am not able to edit the project board and roadmap https://github.com/users/akaihola/projects/3/. However I find it useful to coordinate development. Do you mind giving me access if github allows it? |
Of course! You should be able to manage the project now. |
Thanks! I have access but I am overwhelmed with options: There even is a roadmap feature. Since I didn't use projects before, I'll play around with a private copy first. |
Originally posted by @real-yfprojects in #10 (comment)
The text was updated successfully, but these errors were encountered: