Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code formatting configuration not respected #329

Open
clearmisp opened this issue Apr 11, 2018 · 1 comment
Open

Code formatting configuration not respected #329

clearmisp opened this issue Apr 11, 2018 · 1 comment

Comments

@clearmisp
Copy link

I have the following in ~/.config/pycodestyle:

[pycodestyle]
max-line-length = 100

This is picked up by pycodestyle when linting but it is not respected by yapf or autopep8 (I'm not sure which one is used) when formatting code (I use Emacs and lsp-python, formatting buffer is made with a call to lsp-format-buffer).

Do I need to add sections to the configuration file for autopep8 and/or yapf?

@expl0ratory
Copy link

experiencing the same on vim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants