athphane / userbot

Telegram Userbot built with Pyrogram
GNU General Public License v3.0
155 stars 103 forks source link

Fix carbon plugin and remove code language setter and getter functionality with pep8 formatting and clean up. #87

Closed i701 closed 2 months ago

i701 commented 6 months ago

Refactor carbon plugin to utilize Carbon API for generation and implement auto language detection.

This commit replaces the previous dependency on the Carbon 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 and send_carbon_lang functions, opting for automatic language detection instead.

pep8speaks commented 6 months ago

Hello @i701! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

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)

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)