Skip to content

Drop Ruby < 2.7; Add RuboCop #2

Drop Ruby < 2.7; Add RuboCop

Drop Ruby < 2.7; Add RuboCop #2

Triggered via pull request April 21, 2023 15:30
@bastelfreakbastelfreak
synchronize #14
modulesync
Status Failure
Total duration 36s
Artifacts

test.yml

on: pull_request
Matrix: test
Test suite
0s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

14 errors
rubocop: Gemfile#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: Rakefile#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L1
Style/FrozenStringLiteralComment: Missing frozen string literal comment.
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L3
Style/BlockDelimiters: Avoid using `{...}` for multi-line blocks. (https://rubystyle.guide#single-line-blocks)
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L5
Style/MultilineBlockChain: Avoid multi-line chains of blocks. (https://rubystyle.guide#single-line-blocks)
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L6
Style/Next: Use `next` to skip iteration. (https://rubystyle.guide#no-nested-conditionals)
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L6
Performance/RedundantMatch: Use `=~` in places where the `MatchData` returned by `#match` will not be used.
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L6
Performance/RegexpMatch: Use `match?` instead of `match` when `MatchData` is not used. (https://github.com/JuanitoFatas/fast-ruby#regexp-vs-stringmatch-vs-string-vs-stringmatch-code-)
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L8
Style/HashSyntax: Use the new Ruby 1.9 hash syntax. (https://rubystyle.guide#hash-literals)
rubocop: lib/puppet-lint/plugins/variable_contains_upcase.rb#L9
Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
Ruby 3.1
Process completed with exit code 1.
Ruby 3.2
Process completed with exit code 1.
Ruby 3.0
Process completed with exit code 1.
Ruby 2.7
Process completed with exit code 1.