[pre-commit.ci] pre-commit autoupdate #27
coqbot-app / GitLab CI job rubocop (pull request)
completed
Oct 7, 2024 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/9b2d6e6e1cce7917467b682ee6ad269590ca5df1/374f30071d06f83311fae5e9d222fddc06b52b19/a1909b0a4a17e7e52b8142b187174b71c7249b65
FScanning /builds/saltstack-formulas/sysstat-formula/test/integration/share/libraries/system.rb
Loading cache from /root/.cache/rubocop_cache/9b2d6e6e1cce7917467b682ee6ad269590ca5df1/374f30071d06f83311fae5e9d222fddc06b52b19/fc01207c01d2f5c3dc341c0500da9f06a57e1371
.
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.436598287999999 seconds
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
Loading