Skip to content

Commit ed39230

Browse files
committed
Drop explicit support for .qmd file extension
Users can now map their preferred markdown extensions in configuration via #23218 and #23384. Issue #3792, #23204
1 parent 728609a commit ed39230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/ruff_python_ast/src

crates/ruff_python_ast/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl SourceType {
5151
pub fn from_extension(ext: &str) -> Self {
5252
match ext {
5353
"toml" => Self::Toml(TomlSourceType::Unrecognized),
54-
"md" | "qmd" => Self::Markdown,
54+
"md" => Self::Markdown,
5555
_ => Self::Python(PySourceType::from_extension(ext)),
5656
}
5757
}

0 commit comments

Comments
 (0)