Last active
April 13, 2021 15:06
-
-
Save nikiforidi/d333b565321706fd736e5675182d7b44 to your computer and use it in GitHub Desktop.
Visual Studio Code configuration for Django projects using black, pylint and isort
This file contains hidden or 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
| { | |
| "editor.formatOnSave": true, | |
| "python.linting.lintOnSave": true, | |
| "python.linting.enabled": true, | |
| "python.linting.pylintEnabled": true, | |
| "python.linting.pylintArgs": [ | |
| "--load-plugins", | |
| "pylint_django", | |
| "--django-settings-module=core.settings", | |
| "--max-line-length=120" | |
| ], | |
| "python.formatting.provider": "black", | |
| "python.formatting.blackArgs": [ | |
| "--line-length=120" | |
| ], | |
| "editor.codeActionsOnSave": { | |
| "source.organizeImports": true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment