mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-02 18:02:23 +00:00
Remove leftover constant tuple reference (#8062)
This PR removes the leftover reference to the tuple variant in `Constant`.
This commit is contained in:
parent
a327b4da87
commit
ec1be60dcb
4 changed files with 2 additions and 5 deletions
|
@ -2392,7 +2392,7 @@ pub struct PylintOptions {
|
|||
/// Constant types to ignore when used as "magic values" (see: `PLR2004`).
|
||||
#[option(
|
||||
default = r#"["str", "bytes"]"#,
|
||||
value_type = r#"list["str" | "bytes" | "complex" | "float" | "int" | "tuple"]"#,
|
||||
value_type = r#"list["str" | "bytes" | "complex" | "float" | "int"]"#,
|
||||
example = r#"
|
||||
allow-magic-value-types = ["int"]
|
||||
"#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue