I'm using the flake8
linter for Python and I have many code formats issues like blank line contains whitespace flake8(W293)
I'm trying to auto fix these linting issues. I have these settings:
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.lintOnSave": true,
"python.linting.flake8Args": [
"--ignore=E501",
],
"editor.formatOnSave": true
I'm using the default autopep8
formater but it seems that it does nothing.
Nothing happens when I save the file or run the command Format Document
.
Is there any way to auto fix these linting errors?
autopep8
isn't working... – Incubator