How to add Python pep8 exclusions on Spyder mac os?
Added this:
[pycodestyle]
ignore = W191
to this file: /Users/myname/opt/anaconda3/bin/.pycodestyle <-- created this file and it just gets ignored. And please, how do I add multiple exclusions?
(Spyder maintainer here) This is only possible in Spyder 4. To do it you need to go to the menu
Tools > Preferences > Completion and linting > Code style
then activate the option called Enable code style linting and finally add your exclusion list in the field called Ignore the following errors or warnings.
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