Skip to content

Commit

Permalink
Sort imports with isort in notebooks, and ruff outside of them.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Oct 22, 2023
1 parent d9cbcb1 commit be6cf63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"source.unusedImports"
],
"editor.codeActionsOnSave": {
"source.organizeImports": "always",
"source.organizeImports.ruff": "always",
"source.fixAll": "always"
},
"notebook.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.organizeImports.isort": "explicit",
"source.fixAll": "explicit"
},
"python.analysis.completeFunctionParens": false, // Buggy
Expand Down
2 changes: 1 addition & 1 deletion boiler.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"python.languageServer": "Pylance",
"explorer.fileNesting.expand": false,
"notebook.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.organizeImports.isort": "explicit",
"source.fixAll": "explicit"
},
"ruff.importStrategy": "fromEnvironment",
Expand Down

0 comments on commit be6cf63

Please sign in to comment.