Make setters private (rework of #69)#107
Conversation
|
This is technically an incomplete fix, as the same issue can exist with functions decorated as |
|
Looks like the original implementation covered deleters as well. I've just added a unit test to confirm this. |
|
Anything I can do to move this along? I can't adopt |
|
I will take a look at it over the weekend. Sorry for the delay.
|
There was a problem hiding this comment.
Make this a tuple instead (it shouldn't be mutable).
|
I added my code review as comments. Thanks! |
|
Thanks for the thorough review! I'll address the comments and provide an updated changeset. |
|
@glennmatthews just one more tiny fix and I'll merge this :) |
|
Done. Thanks again! (And thanks to @adiroiban for the initial version of this enhancement) |
Make setters private (rework of #69)
|
@Nurdok Can I expect a new release any time soon? I would like to enable pep257 on my project. 😄 |
|
@glennmatthews I'm currently working on a #96 and a version will be released once I'm done. It might take 2-3 weeks, though. |
|
Good enough for me. :-) Thanks for the reply! Glenn |
Rework #69 to patch cleanly with latest master code.
Example code:
Before - pep257 wants docstrings on setter methods:
After - setters are ignored: