Last active
February 22, 2019 05:02
-
-
Save maheshgawali/658a33053561bf3651d5be06426105aa to your computer and use it in GitHub Desktop.
vscode settings for working with python, pylint, yapf, django
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
{ | |
"python.linting.enabled": true, | |
"python.linting.lintOnSave": true, | |
"python.linting.pylintEnabled": true, | |
"python.linting.pylintPath": "/Users/abc/Envs/venv/bin/pylint", | |
"editor.formatOnSave": true, | |
"python.formatting.yapfPath": "/Users/abc/Envs/venv/bin/yapf", | |
"python.formatting.provider": "yapf", | |
"python.formatting.yapfArgs": [ | |
"--style", | |
"google" | |
], | |
"python.pythonPath": "/Users/abc/Envs/venv/bin/python", | |
"files.autoSave": "onFocusChange", | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/__pycache__": true, | |
"**/site-packages/**/*.py": true, | |
}, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
}, | |
"python.venvPath": "~/Envs" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use this along with .pylintrc from here which is compatible with yapf and pylint_django