From 0ac2358f2c4124723bfe6ef93adfc7f9d89f07ad Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 20 Apr 2023 10:34:35 +1000 Subject: [PATCH] Regenerate Rubocop's TODO file without timestamp --- .rubocop_todo.yml | 4 ++-- script/rubocop-autocorrect.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 01ac8ccc8e..dc22595479 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by -# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 1400` -# on 2023-04-19 05:30:13 UTC using RuboCop version 1.50.2. +# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 1400 --no-auto-gen-timestamp` +# using RuboCop version 1.50.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 diff --git a/script/rubocop-autocorrect.sh b/script/rubocop-autocorrect.sh index c046d8e05c..b4f7c4186e 100755 --- a/script/rubocop-autocorrect.sh +++ b/script/rubocop-autocorrect.sh @@ -9,7 +9,7 @@ if git add --dry-run --all | grep --quiet .; then fi # Refresh todo file so that following commits include only related changes: -bundle exec rubocop --regenerate-todo +bundle exec rubocop --regenerate-todo --no-auto-gen-timestamp git commit --all --message "Regenerate Rubocop's TODO file" # Iterate over all safe cops: