Skip to content

Commit 0066966

Browse files
committed
don't format .ipynb with ruff yet
because `#|` is transformed to `# |`
1 parent a751e52 commit 0066966

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"[typescript]": {
33
"editor.defaultFormatter": "denoland.vscode-deno"
44
},
5-
"notebook.formatOnSave.enabled": true,
5+
"notebook.formatOnSave.enabled": false,
66
"notebook.codeActionsOnSave": {
77
"notebook.source.organizeImports": "explicit"
88
},

quarto-cli.code-workspace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@
3838
"deno.inlayHints.variableTypes.suppressWhenTypeMatchesName": false
3939
},
4040
"typst-lsp.exportPdf": "never",
41-
"notebook.formatOnSave.enabled": true
41+
"notebook.formatOnSave.enabled": false
4242
}

ruff.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
extend-exclude = ["**/renv", "**/.venv", ".github", ".vscode", "**/node_modules", "**/__pycache__", "**/build"]
2+
# don't format .ipynb files as quarto cell comment
3+
include = ["**/*.py"]

0 commit comments

Comments
 (0)