Clean up for rubocop #114
Annotations
10 errors and 1 warning
Run bundle show:
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.
|
Run bundle show:
lib/facter/ipa.rb#L58
Style/MultilineBlockChain: Avoid multi-line chains of blocks. (https://rubystyle.guide#single-line-blocks)
|
Run bundle show:
lib/puppet/functions/simplib/assert_optional_dependency.rb#L59
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
|
Run bundle show:
lib/puppet/functions/simplib/assert_optional_dependency.rb#L85
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
|
Run bundle show:
lib/puppet/functions/simplib/assert_optional_dependency.rb#L85
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
|
Run bundle show:
lib/puppet/functions/simplib/filtered.rb#L66
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - `key`.
|
Run bundle show:
lib/puppet/functions/simplib/module_exist.rb#L13
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
|
Run bundle show:
lib/puppet/functions/simplib/module_exist.rb#L13
Lint/UnderscorePrefixedVariableName: Do not use prefix `_` for a variable that is used.
|
Run bundle show:
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)
|
Run bundle show:
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)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading