mirror of https://github.com/astral-sh/ruff
Add missing C400,C401, and C402 to `CheckCode.from_str` (#361)
This commit is contained in:
parent
d9edec0ac9
commit
136d412edd
|
|
@ -258,6 +258,9 @@ impl FromStr for CheckCode {
|
|||
"A002" => Ok(CheckCode::A002),
|
||||
"A003" => Ok(CheckCode::A003),
|
||||
// flake8-comprehensions
|
||||
"C400" => Ok(CheckCode::C400),
|
||||
"C401" => Ok(CheckCode::C401),
|
||||
"C402" => Ok(CheckCode::C402),
|
||||
"C403" => Ok(CheckCode::C403),
|
||||
"C404" => Ok(CheckCode::C404),
|
||||
// flake8-super
|
||||
|
|
|
|||
Loading…
Reference in New Issue