Last active
July 19, 2021 06:46
-
-
Save JayGwod/c06f0dbba6812169107ed5452d737718 to your computer and use it in GitHub Desktop.
[Django vscode configuration]Vscode django project settings. #django #vscode
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
black | |
isort | |
autopep8 | |
pylint | |
pylint-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.defaultInterpreterPath": "venv\\Scripts\\python.exe", | |
"editor.formatOnSave": true, | |
"python.formatting.provider": "black", | |
"python.formatting.blackArgs": ["--line-length=119"], | |
"python.sortImports.args": ["--profile=black"], | |
"[python]": { | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
} | |
}, | |
"python.linting.flake8Enabled": false, | |
"python.linting.pylintEnabled": true, | |
"python.linting.enabled": true, | |
"python.linting.lintOnSave": true, | |
"python.linting.pylintArgs": ["--django-settings-module=core.settings"], | |
"files.associations": { | |
"**/*.html": "html", | |
"**/templates/**/*.html": "django-html", | |
"**/templates/**/*": "django-txt", | |
"**/requirements{/**,*}.{txt,in}": "pip-requirements" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment