Skip to content

Instantly share code, notes, and snippets.

@HymanZHAN
Last active March 18, 2020 18:05
Show Gist options
  • Save HymanZHAN/9dde25fe8e8a5fef0eddf27bcf6e6553 to your computer and use it in GitHub Desktop.
Save HymanZHAN/9dde25fe8e8a5fef0eddf27bcf6e6553 to your computer and use it in GitHub Desktop.
Django Development VSCode Formatting and Linting Settings
{
"python.pythonPath": "env/bin/python",
"python.linting.pylintArgs": ["--load-plugins", "pylint_django", "--max-line-length=100"],
"python.formatting.autopep8Args": ["--max-line-length", "150"],
"beautify.language": {
"html": ["htm", "html", "django-html"]
},
"beautify.config": {
"indent_size": 4,
"wrap_line_length": 150,
"html": {
"wrap_attributes": "auto",
"wrap_attributes_indent_size": 4,
"js": {
"indent_size": 4
},
"css": {
"indent_size": 4
}
}
},
"cSpell.words": [
"Jsonable",
"accentred",
"accentyellow",
"builtins",
"clonedeep",
"csrftoken",
"darkaccent",
"faintgray",
"glyphicon",
"iife",
"lightaccent",
"lightblack",
"lightestgray",
"midgray",
"multiselect",
"runserver",
"scrollbar",
"secondaryblue",
"umblack",
"umblue",
"umgray",
"umsilver",
"ungrouped"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment