Skip to content

Instantly share code, notes, and snippets.

@eifuentes
Last active February 6, 2022 18:39
Show Gist options
  • Save eifuentes/28ab07d8a5800260cb11269efbbd1c59 to your computer and use it in GitHub Desktop.
Save eifuentes/28ab07d8a5800260cb11269efbbd1c59 to your computer and use it in GitHub Desktop.
vscode python settings
{
"python.defaultInterpreterPath": "path/to/conda/env/bin/python",
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"python.formatting.blackArgs": [
"--line-length",
"100"
],
"python.linting.flake8Args": [
"--max-line-length=100",
"--ignore=E402",
],
"python.analysis.typeCheckingMode": "basic",
"python.analysis.completeFunctionParens": true,
}
@eifuentes
Copy link
Author

changed to defaultInterpreterPath

@eifuentes
Copy link
Author

added "editor.formatOnSave": true and removed addBrackets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment