[Bug]: Python emitter keeps adding this line at the top, even though one already exists: # pylint: disable=too-many-lines
#5526
Labels
bug
Something isn't working
emitter:client:python
Issue for the Python client emitter: @typespec/http-client-python
Describe the bug
Whenever I emit Python SDK from TypeSpec, the line
# pylint: disable=too-many-lines
keeps getting added to the top one or more of my _patch.py files, even though this line already exists there at the top. I have to manually delete the repeated line after each re-emit.See attached screen shot of a file diff after SDK was re-emitted.
Reproduction
Have a _patch.py file with this line at the top:
# pylint: disable=too-many-lines
. Re-emit the Python SDK, and see that the same line was added again below the original one.Checklist
The text was updated successfully, but these errors were encountered: