Skip to content
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

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

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

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

0c64295
Select commit
Loading
Failed to load commit list.
Open

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

ci(pre-commit.ci): perform `pre-commit` autoupdate
0c64295
Select commit
Loading
Failed to load commit list.
coqbot-app / GitLab CI job rubocop (pull request) completed Apr 1, 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/8354e9640cf3daea91842d5da511ffdf2dac6eb9/374f30071d06f83311fae5e9d222fddc06b52b19/d6b113d67994d14fdd9dc358c45bd4cfb03bd8a3
.

Offenses:

test/integration/default/controls/config_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'Grafana configuration' do
^
test/integration/default/controls/environ_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'grafana configuration environment' do
^
test/integration/default/controls/environ_spec.rb:9:5: C: [Correctable] Layout/LeadingCommentSpace: Missing space after #. (https://rubystyle.guide#hash-space)
    #its('content') { should include 'Your changes may be overwritten' }
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/integration/default/controls/environ_spec.rb:10:5: C: [Correctable] Layout/LeadingCommentSpace: Missing space after #. (https://rubystyle.guide#hash-space)
    #its('content') { should include 'export PATH=${PATH}:/opt/grafana-2.10.0.linux-amd64/bin' }
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/integration/default/controls/environ_spec.rb:10:89: C: Layout/LineLength: Line is too long. [96/88] (https://rubystyle.guide#max-line-length)
    #its('content') { should include 'export PATH=${PATH}:/opt/grafana-2.10.0.linux-amd64/bin' }
                                                                                        ^^^^^^^^
test/integration/default/controls/packages_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'Grafana package' do
^
test/integration/default/controls/services_spec.rb:1:1: C: [Correctable] Style/FrozenStringLiteralComment: Missing frozen string literal comment.
control 'Grafana service' do
^
test/integration/default/todo/archives_spec.rb:7:6: F: Lint/Syntax: unexpected token tCOLON
(Using Ruby 2.7 parser; configure using TargetRubyVersion parameter, under AllCops)
  tag: package: "tarball archive"
     ^
test/integration/default/todo/archives_spec.rb:28: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, 6 offenses autocorrectable
Finished in 0.3597113329999999 seconds
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1