Implement E402 (ModuleImportNotAtTopOfFile) (#102)

This commit is contained in:
Charlie Marsh 2022-09-04 16:20:36 -04:00 committed by GitHub
parent 533b4e752b
commit 3cf9e3b201
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 133 additions and 16 deletions

View file

@ -44,6 +44,7 @@ impl Settings {
.collect(),
select: config.select.unwrap_or_else(|| {
BTreeSet::from([
CheckCode::E402,
CheckCode::E501,
CheckCode::F401,
CheckCode::F403,
@ -52,8 +53,8 @@ impl Settings {
CheckCode::F634,
CheckCode::F706,
CheckCode::F707,
CheckCode::F831,
CheckCode::F823,
CheckCode::F831,
CheckCode::F901,
])
}),