wistful / SublimeAutoPEP8

Automatically formats Python code to conform to the PEP 8 style guide using autopep8 and pep8 modules
144 stars 23 forks source link

Might be better to explain how to set "ignore" and "select" in Preference #63

Open kkew3 opened 5 years ago

kkew3 commented 5 years ago

Hi. Thanks for the great plugin. I think it might be helpful if you could explain how to set the "select" and "ignore" key in Preference. For now, the default setting json merely mentions:

// Do not fix these errors / warnings(e.g. E4, W)
"ignore": "",

// Select errors / warnings(e.g. E4, W)
"select": "",

However, it might be confused at first glance what E4 and W are. After some search I found that they are explained in this site. It might be clearer, at least for me, if the website can be referred in README. Thanks!

wistful commented 3 years ago

Thank you for the suggestion. The package is not actively maintained right now, and I can't promise I'll look into that. However, I'm open to PRs with new features and bug fixes. Contributions and help are very welcome.

RehMoritz commented 3 years ago

Hi, for anyone wondering who has been looking online for a solution to this: from the suggested line in the link above ignore = "E501,W6" # or ["E501", "W6"] the latter line causes the plugin to stop working while the first option works as intended. Cheers