mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +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))]
|
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||||
pub struct Flake8ImportConventionsOptions {
|
pub struct Flake8ImportConventionsOptions {
|
||||||
/// The conventional aliases for imports. These aliases can be extended by
|
/// The conventional aliases for imports. These aliases can be extended by
|
||||||
/// the `extend_aliases` option.
|
/// the `extend-aliases` option.
|
||||||
#[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"}"#,
|
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]",
|
value_type = "dict[str, str]",
|
||||||
|
|
2
ruff.schema.json
generated
2
ruff.schema.json
generated
|
@ -1054,7 +1054,7 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"aliases": {
|
"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": [
|
"type": [
|
||||||
"object",
|
"object",
|
||||||
"null"
|
"null"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue