I'm new to Python. I'm using Spyder 4.0.1, Python 3.7. The Spyder built-in PEP-8 convention code style check returns error E501 (line too long). Although I set the vertical line and wrap lines, it still shows error for the long characters line. Pycharm would wrap lines automatically, but I cannot find any effective solution in Spyder. What should I do? Do I have to press Enter manually for the long line? Thanks.
In Windows Go To Tools->Preferences->Editor and select Wrap lines.
If you use mac, you need to go to Python on the left right corner then click on Preferences.
Then go to Editor, and check Wrap lines.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With