From 7c55330534641d207959a4f9ba6fa9cc8b5cdf2d Mon Sep 17 00:00:00 2001 From: Steve C Date: Mon, 23 Sep 2024 03:18:28 -0400 Subject: [PATCH] Fix formatting for analyze `direction` values (#13476) --- crates/ruff_workspace/src/options.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_workspace/src/options.rs b/crates/ruff_workspace/src/options.rs index 6c9ac41502..b1399dbaaf 100644 --- a/crates/ruff_workspace/src/options.rs +++ b/crates/ruff_workspace/src/options.rs @@ -3355,8 +3355,8 @@ pub struct AnalyzeOptions { /// Whether to generate a map from file to files that it depends on (dependencies) or files that /// depend on it (dependents). #[option( - default = r#"\"dependencies\""#, - value_type = "\"dependents\" | \"dependencies\"", + default = r#""dependencies""#, + value_type = r#""dependents" | "dependencies""#, example = r#" direction = "dependencies" "#