mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
Add missing C400,C401, and C402 to CheckCode.from_str (#361)
This commit is contained in:
committed by
GitHub
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
|
||||
|
||||
Reference in New Issue
Block a user