docconvert
docconvert copied to clipboard
# noqa is shifted to next line after block comment
Hi Cameron,
thanks for your nice reformatting tool :)
Using it in my repository lead to the following behaviour:
Before running docconvert:
def abc():
"""Text.
Text text text text.
""" # noqa: 501
After running docconvert:
def abc():
"""Text.
Text text text text.
"""
# noqa: 501
As # noqa was shifted to the next line, flake8 is not relating it to the block comment any more.
My expection would be that it stays at the same line.
Thank you in advance for checking the issue!