@@ -626,7 +626,6 @@ pub struct LintConfiguration {
626
626
pub logger_objects : Option < Vec < String > > ,
627
627
pub task_tags : Option < Vec < String > > ,
628
628
pub typing_modules : Option < Vec < String > > ,
629
- pub allowed_unused_imports : Option < Vec < String > > ,
630
629
631
630
// Plugins
632
631
pub flake8_annotations : Option < Flake8AnnotationsOptions > ,
@@ -739,7 +738,7 @@ impl LintConfiguration {
739
738
task_tags : options. common . task_tags ,
740
739
logger_objects : options. common . logger_objects ,
741
740
typing_modules : options. common . typing_modules ,
742
- allowed_unused_imports : options . common . allowed_unused_imports ,
741
+
743
742
// Plugins
744
743
flake8_annotations : options. common . flake8_annotations ,
745
744
flake8_bandit : options. common . flake8_bandit ,
@@ -1108,9 +1107,7 @@ impl LintConfiguration {
1108
1107
. or ( config. explicit_preview_rules ) ,
1109
1108
task_tags : self . task_tags . or ( config. task_tags ) ,
1110
1109
typing_modules : self . typing_modules . or ( config. typing_modules ) ,
1111
- allowed_unused_imports : self
1112
- . allowed_unused_imports
1113
- . or ( config. allowed_unused_imports ) ,
1110
+
1114
1111
// Plugins
1115
1112
flake8_annotations : self . flake8_annotations . combine ( config. flake8_annotations ) ,
1116
1113
flake8_bandit : self . flake8_bandit . combine ( config. flake8_bandit ) ,
@@ -1332,7 +1329,6 @@ fn warn_about_deprecated_top_level_lint_options(
1332
1329
explicit_preview_rules,
1333
1330
task_tags,
1334
1331
typing_modules,
1335
- allowed_unused_imports,
1336
1332
unfixable,
1337
1333
flake8_annotations,
1338
1334
flake8_bandit,
@@ -1431,9 +1427,6 @@ fn warn_about_deprecated_top_level_lint_options(
1431
1427
if typing_modules. is_some ( ) {
1432
1428
used_options. push ( "typing-modules" ) ;
1433
1429
}
1434
- if allowed_unused_imports. is_some ( ) {
1435
- used_options. push ( "allowed-unused-imports" ) ;
1436
- }
1437
1430
1438
1431
if unfixable. is_some ( ) {
1439
1432
used_options. push ( "unfixable" ) ;
0 commit comments