You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deffunc():
""" My very long docstring that I can't seem to be able to get under 100 characters but that I don't want to change. """string="My very long string that I can't seem to be able to get under 100 characters but that should be changed"
How can I ignore E501 on the line in the docstring but not in the string line. I have tried to do this but can't figure out how to do so. pylint read the ignore comment even if it is in a docstring, would that be a possibility here?
The text was updated successfully, but these errors were encountered:
Not sure if these should be added to the line-too-long docs. Multi-line strings and docstrings are different objects and I couldn't find anything through google/GIthub when looking for docstrings. Adding a short example for them might help with discoverability.
Running
ruff --select=E501 --line-length=100 test.py
.How can I ignore E501 on the line in the docstring but not in the
string
line. I have tried to do this but can't figure out how to do so.pylint
read the ignore comment even if it is in a docstring, would that be a possibility here?The text was updated successfully, but these errors were encountered: