Skip to content

Instantly share code, notes, and snippets.

@Martins6
Created April 12, 2024 15:20
Show Gist options
  • Save Martins6/83431ff4efa4a83d9a5453cb837319d2 to your computer and use it in GitHub Desktop.
Save Martins6/83431ff4efa4a83d9a5453cb837319d2 to your computer and use it in GitHub Desktop.
VsCode settings using Ruff and using colour lines for max-length.
{
"notebook.formatOnSave.enabled": true,
"notebook.codeActionsOnSave": {
"notebook.source.fixAll": "explicit",
"notebook.source.organizeImports": "explicit"
},
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
},
"editor.rulers": [80,120],
"workbench.colorCustomizations": {
"editorRuler.foreground": "#ff4081"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment