Closed i701 closed 6 months ago
Hello @i701! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
userbot/helpers/carbon_client.py
:Line 9:80: E501 line too long (80 > 79 characters) Line 13:80: E501 line too long (90 > 79 characters) Line 14:80: E501 line too long (96 > 79 characters) Line 15:80: E501 line too long (81 > 79 characters)
userbot/plugins/carbon.py
:Line 33:80: E501 line too long (82 > 79 characters) Line 50:80: E501 line too long (90 > 79 characters) Line 103:80: E501 line too long (106 > 79 characters) Line 109:80: E501 line too long (87 > 79 characters)
Refactor carbon plugin to utilize Carbon API for generation and implement auto language detection.
This commit replaces the previous dependency on the Carbon now CLI with the Carbon API (https://pypi.org/project/carbon-api/) for code generation within the carbon plugin. Additionally, it removes the
update_carbon_lang
andsend_carbon_lang
functions, opting for automatic language detection instead.