SublimeAutoPEP8
SublimeAutoPEP8 copied to clipboard
Please add "Disable auto pep8 on this file" command
So this great feature can be temporally disabled when editing some files we don't want to change
Thanks
Could you please explain a case? Probably disabling formatting on save could be a solution.
I just did it on a plugin for organizing the import statement: Python fix import (deliberately inspired on your plugin)
I have the pep8 formating always on save. But sometime I edit a file I don't want to touch (another project,...). For example: "disable auto pep8" for this file. Or "disable autopep8 for this session". I can submit a pl if you want.
Seems like autopep8 '--exclude' option could be useful here.
This feature would be very helpful. In the JsPrettier plugin you can set it up to only format if it finds a .prettierrc
file in some parent folder. The option is called auto_format_on_save_requires_prettier_config
. This makes it possible to enable it on a per-project basis, even when you have format on save option turned on.
Thank you for the suggestion. Sounds like an interesting feature. 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.