From 9c9da1e321096244dce7e45ea3ec4c7dcf7ad624 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 1 Sep 2026 12:39:40 +0100 Subject: [PATCH] Fix cookstyle warnings and update cookstyle todo --- .rubocop_todo.yml | 16 +++++++++++++--- cookbooks/networking/metadata.rb | 6 +++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a92cef294..8f86d9309 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,13 +1,23 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2021-05-11 07:26:15 UTC using RuboCop version 1.14.0. +# on 2026-09-01 11:38:36 UTC using RuboCop version 1.90.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1124 -# Cop supports --auto-correct. +# Offense count: 5 +Chef/Modernize/ExecuteArchiveExtract: + Exclude: + - '**/metadata.rb' + - '**/attributes/*.rb' + - '**/Berksfile' + - 'cookbooks/hardware/recipes/default.rb' + - 'cookbooks/overpass/recipes/default.rb' + - 'cookbooks/tile/recipes/default.rb' + +# Offense count: 1284 +# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: . # SupportedStyles: strings, symbols Chef/Style/AttributeKeys: diff --git a/cookbooks/networking/metadata.rb b/cookbooks/networking/metadata.rb index 33baab1f4..1371de270 100644 --- a/cookbooks/networking/metadata.rb +++ b/cookbooks/networking/metadata.rb @@ -4,6 +4,6 @@ maintainer_email "admins@openstreetmap.org" license "Apache-2.0" description "Configures networking" -version "1.0.0" -depends "chef" -depends "ruby" +version "1.0.0" +depends "chef" +depends "ruby" -- 2.47.3