From 16b09dcfcbae834c85e6470846e1d93e1e6a4cec Mon Sep 17 00:00:00 2001 From: Dominik Gedon Date: Tue, 6 Feb 2024 11:31:07 +0100 Subject: [PATCH] Update RuboCop TODO file (#153) --- .rubocop_todo.yml | 9 ++++++--- CONTRIBUTING.md | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e674415d..b1398504 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-02-09 12:00:54 UTC using RuboCop version 1.45.1. +# on 2024-02-06 10:24:39 UTC using RuboCop version 1.57.2. # 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 @@ -28,7 +28,7 @@ Layout/EmptyLineAfterMagicComment: # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines. +# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'lib/tetra/project_initer.rb' @@ -93,6 +93,7 @@ Lint/InheritException: - 'lib/tetra/facades/process_runner.rb' # Offense count: 2 +# Configuration parameters: AllowedParentClasses. Lint/MissingSuper: Exclude: - 'lib/tetra/facades/process_runner.rb' @@ -138,11 +139,13 @@ Style/AccessorGrouping: # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: MinBranchesCount. Style/CaseLikeIf: Exclude: - 'lib/tetra/ui/get_pom_subcommand.rb' # Offense count: 1 +# This cop supports unsafe autocorrection (--autocorrect-all). Style/CombinableLoops: Exclude: - 'spec/lib/fine/package_spec.rb' @@ -287,7 +290,7 @@ Style/RedundantRegexpEscape: Exclude: - 'lib/tetra/version_matcher.rb' -# Offense count: 2 +# Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b8b09256..7ca9fd63 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ To develop tetra, you will need: * to install Bundler and Ruby development headers. On SUSE distros, use - `sudo zypper install ruby2.5-rubygem-bundler ruby-devel`; + `sudo zypper install ruby2.7-rubygem-bundler ruby-devel`; * to get development dependencies: `bundle install`; To install a development version of tetra use: