Issue
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?
Solution
(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
.
Answered By - Carlos Cordoba
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.