Skip to content

[pre-commit.ci] pre-commit autoupdate #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

ci(pre-commit.ci): perform `pre-commit` autoupdate

853e2c0
Select commit
Loading
Failed to load commit list.
Open

[pre-commit.ci] pre-commit autoupdate #27

ci(pre-commit.ci): perform `pre-commit` autoupdate
853e2c0
Select commit
Loading
Failed to load commit list.
coqbot-app / GitLab CI job rubocop (branch) completed Apr 7, 2025 in 0s

Test has failed on GitLab CI

This job is allowed to fail.

We show below the last 40 lines of the trace from GitLab (the complete trace is available here).

Details

Loading cache from /root/.cache/rubocop_cache/207d9ca78937376d6079a419c8c8642cc120baba/374f30071d06f83311fae5e9d222fddc06b52b19/ee14c5187e445e491cfd122e88cec77099072082
FScanning /builds/saltstack-formulas/sysstat-formula/test/integration/share/libraries/system.rb
Loading cache from /root/.cache/rubocop_cache/207d9ca78937376d6079a419c8c8642cc120baba/374f30071d06f83311fae5e9d222fddc06b52b19/a7c5aa10cd90c332f62e43b1f1944a1ed589e121
.

Offenses:

test/integration/default/controls/config_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'sysstat configuration' do
^
test/integration/default/controls/config_spec.rb:12:1: C: [Correctable] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end. (https://rubystyle.guide#empty-lines-around-bodies)
test/integration/default/controls/environ_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'sysstat configuration environment' do
^
test/integration/default/controls/packages_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'sysstat package' do
^
test/integration/default/controls/services_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'sysstat service' do
^
test/integration/default/controls/services_spec.rb:7:5: C: [Correctable] Layout/LeadingCommentSpace: Missing space after #. (https://rubystyle.guide#hash-space)
    #it { should be_running }
    ^^^^^^^^^^^^^^^^^^^^^^^^^
test/integration/default/controls/services_spec.rb:13:1: C: [Correctable] Layout/CommentIndentation: Incorrect indentation detected (column 0 instead of 2).
#  end
^^^^^^
test/integration/default/todo/source_spec.rb:7:6: F: Lint/Syntax: unexpected token tCOLON
(Using Ruby 2.7 parser; configure using TargetRubyVersion parameter, under AllCops)
  tag: package: "source archive"
     ^
test/integration/default/todo/source_spec.rb:22:1: F: Lint/Syntax: unexpected token kEND
(Using Ruby 2.7 parser; configure using TargetRubyVersion parameter, under AllCops)
end
^^^

8 files inspected, 9 offenses detected, 7 offenses autocorrectable
Finished in 0.4367708940000057 seconds
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1