Add missing C400,C401, and C402 to `CheckCode.from_str` (#361)

This commit is contained in:
Harutaka Kawamura 2022-10-08 22:02:03 +09:00 committed by GitHub
parent d9edec0ac9
commit 136d412edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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