Skip to content

Clean up for rubocop #114

Clean up for rubocop

Clean up for rubocop #114

Triggered via pull request December 23, 2024 17:30
@silugsilug
synchronize #300
silug:rubocop
Status Failure
Total duration 1m 52s
Artifacts

pr_tests.yml

on: pull_request
Matrix: Puppet Spec
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 7 warnings
Ruby Style: lib/facter/ipa.rb#L58
Layout/BlockAlignment: `}` at 58, 4 is not aligned with `File.read('/etc/ipa/default.conf').lines` at 54, 20 or `.map { |x|` at 56, 24.
Ruby Style: lib/facter/ipa.rb#L58
Style/MultilineBlockChain: Avoid multi-line chains of blocks. (https://rubystyle.guide#single-line-blocks)
Ruby Style: lib/puppet/functions/simplib/assert_optional_dependency.rb#L59
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
Ruby Style: lib/puppet/functions/simplib/assert_optional_dependency.rb#L85
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
Ruby Style: lib/puppet/functions/simplib/assert_optional_dependency.rb#L85
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
Ruby Style: lib/puppet/functions/simplib/filtered.rb#L66
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - `key`.
Ruby Style: lib/puppet/functions/simplib/module_exist.rb#L13
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
Ruby Style: lib/puppet/functions/simplib/module_exist.rb#L13
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
Ruby Style: lib/puppet/functions/simplib/passgen/legacy/list.rb#L43
Lint/RescueException: Avoid rescuing the `Exception` class. Perhaps you meant to rescue `StandardError`? (https://rubystyle.guide#no-blind-rescues)
Ruby Style: lib/puppet/functions/simplib/passgen/legacy/remove.rb#L49
Lint/RescueException: Avoid rescuing the `Exception` class. Perhaps you meant to rescue `StandardError`? (https://rubystyle.guide#no-blind-rescues)
RELENG checks
Process completed with exit code 1.
Puppet Spec (Puppet 8.x, ~> 8.0, 3.2, false)
Process completed with exit code 1.
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false)
Process completed with exit code 1.
Puppet Style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
File checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet Syntax
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby Style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
RELENG checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet Spec (Puppet 8.x, ~> 8.0, 3.2, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636