Created
August 5, 2021 07:33
-
-
Save niftycode/31c709d98b6813e9a2a9d2c6d3578608 to your computer and use it in GitHub Desktop.
VS Code settings for flake8 and autopep8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Whether to lint Python files | |
"python.linting.enabled": true, | |
"python.linting.pylintEnabled": false, | |
"python.linting.flake8Enabled": true, | |
// Path to flake8 executable | |
"python.linting.flake8Path": "/Library/Frameworks/Python.framework/Versions/3.9/bin/flake8", | |
// Flake8 Arguments | |
"python.linting.flake8Args": ["--ignore=E501, E128, W605", "--verbose", "--exclude=__init__.py"], | |
// Formatting: Use AutoPep8 | |
"python.formatting.provider": "autopep8", | |
"[python]" : { | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": {"source.organizeImports": true} | |
}, | |
// More settings goes here... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment