Allow docsting and comment length to be managed separately #22916
mderner-ca
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Thanks for opening a discussion! I don't believe you can currently configure different lengths for comments and docstrings, although comments and docstrings can have a different shared length from the baseline line-length setting via max-doc-length. There was a similar request in #15733 where I offered a pretty hacky workaround for skipping comments entirely. There's some related discussion in #4595 too, but neither of those is exactly the same. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Obviously Flake8 makes no attempt to manage the line length of lines with "fewer structural restrictions" but it is specifically mentioned in PEP8 and is something I like to hold to especially for side by side diffing.
I have only just come to Ruff so please point me in the right direction if this doesn't exist but I would really like to see this
Beta Was this translation helpful? Give feedback.
All reactions