@@ -128,6 +128,12 @@ Lint/RedundantDirGlobSort: # new in 1.8
128128Lint/RedundantRegexpQuantifiers : # new in 1.53
129129 Enabled : false
130130
131+ # Unsure how the changes in portage.rb from Lint/RedundantSplatExpansion impact
132+ # the code
133+ Lint/RedundantSplatExpansion :
134+ Exclude :
135+ - ' lib/puppet/provider/package/portage.rb'
136+
131137Lint/RefinementImportMethods : # new in 1.27
132138 Enabled : false
133139
@@ -646,76 +652,10 @@ Style/OptionalBooleanParameter:
646652Style/PreferredHashMethods :
647653 Enabled : false
648654
649- # This cop supports safe auto-correction (--auto-correct).
650- Style/RedundantConditional :
651- Exclude :
652- - ' lib/puppet/type/exec.rb'
653- - ' lib/puppet/type/file.rb'
654-
655- # This cop supports safe auto-correction (--auto-correct).
656- Style/RedundantException :
657- Exclude :
658- - ' lib/puppet/file_bucket/dipper.rb'
659- - ' lib/puppet/forge.rb'
660- - ' lib/puppet/module_tool/applications/unpacker.rb'
661- - ' lib/puppet/module_tool/local_tarball.rb'
662- - ' lib/puppet/module_tool/tar.rb'
663- - ' lib/puppet/pops/types/class_loader.rb'
664-
665655# This cop supports unsafe auto-correction (--auto-correct-all).
666- # Configuration parameters: SafeForConstants.
667- Style/RedundantFetchBlock :
668- Exclude :
669- - ' lib/puppet/pops/types/p_sem_ver_range_type.rb'
670-
671- # This cop supports safe auto-correction (--auto-correct).
672- Style/RedundantFileExtensionInRequire :
673- Exclude :
674- - ' lib/puppet/parser.rb'
675- - ' lib/puppet/type/file/content.rb'
676- - ' lib/puppet/util/rdoc/parser.rb'
677- - ' lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb'
678-
679- # This cop supports safe auto-correction (--auto-correct).
680656Style/RedundantInterpolation :
681657 Enabled : false
682658
683- # This cop supports safe auto-correction (--auto-correct).
684- Style/RedundantParentheses :
685- Enabled : false
686-
687- # This cop supports safe auto-correction (--auto-correct).
688- Style/RedundantPercentQ :
689- Exclude :
690- - ' lib/puppet/defaults.rb'
691- - ' lib/puppet/indirector/catalog/store_configs.rb'
692- - ' lib/puppet/indirector/facts/store_configs.rb'
693- - ' lib/puppet/indirector/node/store_configs.rb'
694- - ' lib/puppet/indirector/resource/store_configs.rb'
695- - ' lib/puppet/provider/package/dpkg.rb'
696- - ' lib/puppet/provider/package/rpm.rb'
697- - ' lib/puppet/type.rb'
698- - ' lib/puppet/util/at_fork/solaris.rb'
699-
700- # This cop supports safe auto-correction (--auto-correct).
701- Style/RedundantRegexpCharacterClass :
702- Exclude :
703- - ' lib/puppet/application/apply.rb'
704- - ' lib/puppet/module.rb'
705- - ' lib/puppet/pops/lookup/interpolation.rb'
706- - ' lib/puppet/pops/parser/lexer2.rb'
707- - ' lib/puppet/pops/parser/slurp_support.rb'
708- - ' lib/puppet/pops/patterns.rb'
709- - ' lib/puppet/pops/pcore.rb'
710- - ' lib/puppet/provider/package/openbsd.rb'
711- - ' lib/puppet/settings/config_file.rb'
712- - ' lib/puppet/type/exec.rb'
713- - ' lib/puppet/util/command_line/trollop.rb'
714-
715- # This cop supports safe auto-correction (--auto-correct).
716- Style/RedundantRegexpEscape :
717- Enabled : false
718-
719659# This cop supports safe auto-correction (--auto-correct).
720660# Configuration parameters: AllowMultipleReturnValues.
721661Style/RedundantReturn :
@@ -725,44 +665,6 @@ Style/RedundantReturn:
725665Style/RedundantSelf :
726666 Enabled : false
727667
728- # This cop supports unsafe auto-correction (--auto-correct-all).
729- Style/RedundantSelfAssignment :
730- Exclude :
731- - ' lib/puppet/context.rb'
732-
733- # This cop supports unsafe auto-correction (--auto-correct-all).
734- Style/RedundantSort :
735- Exclude :
736- - ' lib/puppet/interface/face_collection.rb'
737- - ' lib/puppet/module/plan.rb'
738- - ' lib/puppet/module_tool/applications/unpacker.rb'
739- - ' lib/puppet/provider/package/apt.rb'
740- - ' lib/puppet/provider/package/yum.rb'
741- - ' lib/puppet/provider/package/zypper.rb'
742-
743- # This cop supports safe auto-correction (--auto-correct).
744- # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
745- # SupportedStyles: slashes, percent_r, mixed
746- Style/RegexpLiteral :
747- Enabled : false
748-
749- # This cop supports safe auto-correction (--auto-correct).
750- Style/RescueModifier :
751- Exclude :
752- - ' lib/puppet/file_serving/metadata.rb'
753- - ' lib/puppet/file_system/uniquefile.rb'
754- - ' lib/puppet/file_system/windows.rb'
755- - ' lib/puppet/module_tool/applications/application.rb'
756- - ' lib/puppet/module_tool/applications/installer.rb'
757- - ' lib/puppet/module_tool/applications/upgrader.rb'
758- - ' lib/puppet/module_tool/metadata.rb'
759- - ' lib/puppet/module_tool/shared_behaviors.rb'
760- - ' lib/puppet/provider/file/posix.rb'
761- - ' lib/puppet/util.rb'
762- - ' lib/puppet/util/execution.rb'
763- - ' lib/puppet/util/reference.rb'
764- - ' lib/puppet/util/windows/adsi.rb'
765-
766668# This cop supports safe auto-correction (--auto-correct).
767669# Configuration parameters: EnforcedStyle.
768670# SupportedStyles: implicit, explicit
0 commit comments