Skip to content
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

[python] optimize logic to add pylint disable for line-too-long #5995

Open
msyyc opened this issue Feb 13, 2025 · 0 comments
Open

[python] optimize logic to add pylint disable for line-too-long #5995

msyyc opened this issue Feb 13, 2025 · 0 comments
Assignees
Labels
emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Comments

@msyyc
Copy link
Contributor

msyyc commented Feb 13, 2025

Python emitter now has much logic to add single-line pylint disable for line-too-long in multi files. It is hard to maintain. And I think we could check it in last black part. In black part, we could get final result of generated code then if there is too long line, we could add pylint disable in head of the file. (e.g. here)

@msyyc msyyc added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Feb 13, 2025
@msyyc msyyc self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:python Issue for the Python client emitter: @typespec/http-client-python
Projects
None yet
Development

No branches or pull requests

1 participant