Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Introduce D107 code for missing __init__ docstring #277
The code itself looks good to me and I am inclined to merge this, but I have a thought - isn't the same reasoning for having a separate error code for
So, I am considering applying this to all variadic magic methods and changing the error description accordingly. Any thoughts?
I tend to disagree @Nurdok .
For example, you know how django models work. Wouldn't you like to see a docstring for that
Yeah, I agree @FarmerSez. I definitely think
It certainly doesn't hurt to have an extra code for the remaining variadic magic methods, but I personally don't need that. If I were you I'd handle it just like this case: Accept a PR if someone comes along and wants that feature, but don't (pro-)actively implement it.