[pre-commit.ci] pre-commit autoupdate #27
coqbot-app / GitLab CI job rubocop (branch)
completed
Jan 6, 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/64cde8f111a844491684dfaecd0440a5f1a13f33/374f30071d06f83311fae5e9d222fddc06b52b19/8a4f4a1d21ca91b82ec8f25240320a1a79a3d5d9
FScanning /builds/saltstack-formulas/sysstat-formula/test/integration/share/libraries/system.rb
Loading cache from /root/.cache/rubocop_cache/64cde8f111a844491684dfaecd0440a5f1a13f33/374f30071d06f83311fae5e9d222fddc06b52b19/33773bb692cf4c1392ac5da13009e102f3761657
.
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.4120363509999976 seconds
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
Loading