@@ -604,7 +604,6 @@ pub struct LintConfiguration {
604
604
pub logger_objects : Option < Vec < String > > ,
605
605
pub task_tags : Option < Vec < String > > ,
606
606
pub typing_modules : Option < Vec < String > > ,
607
- pub allowed_unused_imports : Option < Vec < String > > ,
608
607
609
608
// Plugins
610
609
pub flake8_annotations : Option < Flake8AnnotationsOptions > ,
@@ -717,7 +716,7 @@ impl LintConfiguration {
717
716
task_tags : options. common . task_tags ,
718
717
logger_objects : options. common . logger_objects ,
719
718
typing_modules : options. common . typing_modules ,
720
- allowed_unused_imports : options . common . allowed_unused_imports ,
719
+
721
720
// Plugins
722
721
flake8_annotations : options. common . flake8_annotations ,
723
722
flake8_bandit : options. common . flake8_bandit ,
@@ -1086,9 +1085,7 @@ impl LintConfiguration {
1086
1085
. or ( config. explicit_preview_rules ) ,
1087
1086
task_tags : self . task_tags . or ( config. task_tags ) ,
1088
1087
typing_modules : self . typing_modules . or ( config. typing_modules ) ,
1089
- allowed_unused_imports : self
1090
- . allowed_unused_imports
1091
- . or ( config. allowed_unused_imports ) ,
1088
+
1092
1089
// Plugins
1093
1090
flake8_annotations : self . flake8_annotations . combine ( config. flake8_annotations ) ,
1094
1091
flake8_bandit : self . flake8_bandit . combine ( config. flake8_bandit ) ,
@@ -1310,7 +1307,6 @@ fn warn_about_deprecated_top_level_lint_options(
1310
1307
explicit_preview_rules,
1311
1308
task_tags,
1312
1309
typing_modules,
1313
- allowed_unused_imports,
1314
1310
unfixable,
1315
1311
flake8_annotations,
1316
1312
flake8_bandit,
@@ -1409,9 +1405,6 @@ fn warn_about_deprecated_top_level_lint_options(
1409
1405
if typing_modules. is_some ( ) {
1410
1406
used_options. push ( "typing-modules" ) ;
1411
1407
}
1412
- if allowed_unused_imports. is_some ( ) {
1413
- used_options. push ( "allowed-unused-imports" ) ;
1414
- }
1415
1408
1416
1409
if unfixable. is_some ( ) {
1417
1410
used_options. push ( "unfixable" ) ;
0 commit comments