nowadays (june 2020) I get a message of Unknown configuration setting for pep8 has it been renamed flake8 as that does get recognized?
Unknown configuration setting
I am trying with various options like this to toggle on/off various linter
{ "python.linting.pep8Enabled": true, "python.linting.pylintEnabled": true, "python.linting.flake8Enabled": false, "python.linting.enabled": true, "python.formatting.provider": "black", "python.formatting.blackArgs": [ "--line-length", "120" ], "python.linting.flake8Args": [ "--max-line-length=120", "--ignore=E402", ], "python.linting.pylintArgs": [ "--max-line-length=180" ], "python.formatting.autopep8Args": [ "--max-line-length=180" ], "python.pythonPath": "venv/bin/python" }
well where is the option to open these JSON settings as in ur screenshot
flake8 is a different linter entirely. If you're still looking for PEP 8 formatting, you can install autopep8 and change your "python.formatting.provider" setting to "autopep8".
flake8
autopep8
"python.formatting.provider"
"autopep8"
pep8 has been renamed to pycodestyle, so the python.linting.pep8Enabled is not a valid setting anymore. Now it is python.linting.pycodestyleEnabled
python.linting.pep8Enabled
python.linting.pycodestyleEnabled
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
nowadays (june 2020) I get a message of
Unknown configuration setting
for pep8has it been renamed flake8 as that does get recognized?
I am trying with various options like this to toggle on/off various linter
well where is the option to open these JSON settings as in ur screenshot
flake8
is a different linter entirely. If you're still looking for PEP 8 formatting, you can installautopep8
and change your"python.formatting.provider"
setting to"autopep8"
.pep8 has been renamed to pycodestyle, so the
python.linting.pep8Enabled
is not a valid setting anymore. Now it ispython.linting.pycodestyleEnabled