-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Improve docs of markers #17545
Improve docs of markers #17545
Conversation
Return the transform to be applied to the `.Path` from | ||
`MarkerStyle.get_path()`. |
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.
Shouldn't pydocstyle be complaining that the first line should only be one line, or do we have that turned off?
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.
That would be
D400 - First line should end with a period
We have currently deactivated that in .flake8
because we have a couple of docstrings that can't reasonably be cramped into 79 chars.
While it's good to keep the summary sentence short, personally, I don't see the point in stripping relevant information from the summary only to adhere to that limit. If you have an idea how to shorten the sentence meaningfully to a single line, that'd of course be welcome.
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.
Not sure about the transform ones, but the get_alt_path
one could be written like get_path
.
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.
get_alt_path
updated. I have no good idea for wording of the transforms, so I'd leave them pointing to the paths.
bb0224a
to
3f4ca2e
Compare
PR Summary