Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to remove "Line too long" warning (pyright-extended) in Replit Python

When coding in Python using Replit, I get the annoying warning "Line too long" (pyright-extended).

enter image description here

How can I get Replit to always ignore displaying this type of warnings?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Just add 'E501' to the "[tool.ruff]" section of the "pyproject.toml"-file, to disable the warning in the default python template.

pyproject.toml

https://ask.replit.com/t/python-88-characters-maximum-in-a-line/74941

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading