diff --git a/README.md b/README.md index ba2fe9c..6e8b092 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Adapter for [Ruff](https://github.com/astral-sh/ruff) for use as a formatting plugin in [dprint](https://github.com/dprint/dprint). -Formats .py, .pyi, and .ipynb files. +Formats .py, and .pyi files. ## Install diff --git a/src/wasm_plugin.rs b/src/wasm_plugin.rs index ba181b0..7045138 100644 --- a/src/wasm_plugin.rs +++ b/src/wasm_plugin.rs @@ -35,7 +35,12 @@ impl SyncPluginHandler for RuffPluginHandler { update_url: Some("https://plugins.dprint.dev/dprint/dprint-plugin-ruff/latest.json".to_string()), }, file_matching: FileMatchingInfo { - file_extensions: vec!["py".to_string(), "pyi".to_string(), "ipynb".to_string()], + file_extensions: vec![ + "py".to_string(), + "pyi".to_string(), + // disabled for a bit because I found it breaks notebooks in vscode + // "ipynb".to_string() + ], file_names: vec![], }, }