Skip to content

Instantly share code, notes, and snippets.

@sidisinsane
Created March 5, 2024 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sidisinsane/45bde87db36e88acae550135fe5281e1 to your computer and use it in GitHub Desktop.
Save sidisinsane/45bde87db36e88acae550135fe5281e1 to your computer and use it in GitHub Desktop.
VSCode Configuration for Python Poetry Projects
{
"recommendations": [
"charliermarsh.ruff"
]
}
{
"python.defaultInterpreterPath": "$HOME/.pyenv/shims/python",
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": ["tests"],
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment