mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Fix Typo for extend-aliases
Option (#10978)
This commit is contained in:
parent
1801798e85
commit
45db695c47
2 changed files with 2 additions and 2 deletions
|
@ -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]",
|
||||
|
|
2
ruff.schema.json
generated
2
ruff.schema.json
generated
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue