From 45db695c4787356fdf2de0bf69862d1d40c03572 Mon Sep 17 00:00:00 2001 From: Max Muoto Date: Tue, 16 Apr 2024 11:23:09 -0500 Subject: [PATCH] Fix Typo for `extend-aliases` Option (#10978) --- crates/ruff_workspace/src/options.rs | 2 +- ruff.schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_workspace/src/options.rs b/crates/ruff_workspace/src/options.rs index 555af0b0a7..d349a8631c 100644 --- a/crates/ruff_workspace/src/options.rs +++ b/crates/ruff_workspace/src/options.rs @@ -1307,7 +1307,7 @@ impl Flake8ImplicitStrConcatOptions { #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] pub struct Flake8ImportConventionsOptions { /// The conventional aliases for imports. These aliases can be extended by - /// the `extend_aliases` option. + /// the `extend-aliases` option. #[option( default = r#"{"altair": "alt", "matplotlib": "mpl", "matplotlib.pyplot": "plt", "numpy": "np", "pandas": "pd", "seaborn": "sns", "tensorflow": "tf", "tkinter": "tk", "holoviews": "hv", "panel": "pn", "plotly.express": "px", "polars": "pl", "pyarrow": "pa"}"#, value_type = "dict[str, str]", diff --git a/ruff.schema.json b/ruff.schema.json index 70ce47361e..92d0325971 100644 --- a/ruff.schema.json +++ b/ruff.schema.json @@ -1054,7 +1054,7 @@ "type": "object", "properties": { "aliases": { - "description": "The conventional aliases for imports. These aliases can be extended by the `extend_aliases` option.", + "description": "The conventional aliases for imports. These aliases can be extended by the `extend-aliases` option.", "type": [ "object", "null"