We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfc9056 commit 96a237eCopy full SHA for 96a237e
2 files changed
crates/ruff_server/src/fix.rs
@@ -55,7 +55,7 @@ pub(crate) fn fix_all(
55
};
56
57
let SourceType::Python(source_type) = query.source_type() else {
58
- return Ok(Fixes::default()); // todo?
+ return Ok(Fixes::default());
59
60
61
// We need to iteratively apply all safe fixes onto a single file and then
crates/ruff_server/src/resolve.rs
@@ -74,7 +74,7 @@ fn is_document_excluded(
74
tracing::debug!("Included path via Python language ID: {}", path.display());
75
false
76
} else if let Some(LanguageId::Markdown) = language_id
77
- && let Some(_) = formatter_settings
+ && formatter_settings.is_some()
78
{
79
tracing::debug!("Included path via Markdown language ID: {}", path.display());
80
0 commit comments