Where to put autopep8 custom configurations ?
dasayan05 opened this issue · comments
I am using autopep8
as formatter. I want to have a custom configuration for autopep8
. Where exactly do I put my configurations into ? Can I put key-values like this somewhere in LSP.sublime-settings
Or LSP-pylsp.sublime-settings
file (or maybe in project specific "settings": { }
) ?
I am quite new to sublime, so sorry if the question is basic.
You can just configure autopep8 using a configuration file like you would do that when running it manuallly. https://github.com/hhatto/autopep8#configuration
As far as configuring ti from this package, there are some relevant pylsp.plugins.pycodestyle.*
options available that you can configure in LSP-pylsp.sublime-settings
. Install LSP-json
to enable validation and suggestions in settings.
Thank you. It worked with pylsp.plugins.pycodestyle.*
options. That's what I wanted.