Skip to content

Commit

Permalink
Apply Yamlfix format changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbuchanan45 authored and github-actions[bot] committed Dec 9, 2024
1 parent ea0b72e commit ce049cf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 28 deletions.
37 changes: 15 additions & 22 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,33 @@
---
require:
- rubocop-performance
- rubocop-rspec
require: [rubocop-performance, rubocop-rspec]
AllCops:
NewCops: enable
DisplayCopNames: true
TargetRubyVersion: '2.6'
Include:
- "**/*.rb"
Include: ['**/*.rb']
Exclude:
- bin/*
- ".vendor/**/*"
- "**/Gemfile"
- "**/Rakefile"
- pkg/**/*
- spec/fixtures/**/*
- vendor/**/*
- "**/Puppetfile"
- "**/Vagrantfile"
- "**/Guardfile"
- bin/*
- .vendor/**/*
- '**/Gemfile'
- '**/Rakefile'
- pkg/**/*
- spec/fixtures/**/*
- vendor/**/*
- '**/Puppetfile'
- '**/Vagrantfile'
- '**/Guardfile'
Layout/LineLength:
Description: People have wide screens, use them.
Max: 200
RSpec/BeforeAfterAll:
Description: Beware of using after(:all) as it may cause state to leak between tests.
A necessary evil in acceptance testing.
Exclude:
- spec/acceptance/**/*.rb
Exclude: [spec/acceptance/**/*.rb]
RSpec/HookArgument:
Description: Prefer explicit :each argument, matching existing module's style
EnforcedStyle: each
RSpec/DescribeSymbol:
Exclude:
- spec/unit/facter/**/*.rb
Exclude: [spec/unit/facter/**/*.rb]
Style/BlockDelimiters:
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
be consistent then.
Expand Down Expand Up @@ -75,9 +70,7 @@ Style/SymbolArray:
RSpec/MessageSpies:
EnforcedStyle: receive
Style/Documentation:
Exclude:
- lib/puppet/parser/functions/**/*
- spec/**/*
Exclude: [lib/puppet/parser/functions/**/*, spec/**/*]
Style/WordArray:
EnforcedStyle: brackets
Performance/AncestorsInclude:
Expand Down
9 changes: 3 additions & 6 deletions spec/default_facts.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Use default_module_facts.yml for module specific facts.
#
# Facts specified here will override the values provided by rspec-puppet-facts.
---
networking:
ip: "172.16.254.254"
ip6: "FE80:0000:0000:0000:AAAA:AAAA:AAAA"
mac: "AA:AA:AA:AA:AA:AA"
ip: 172.16.254.254
ip6: FE80:0000:0000:0000:AAAA:AAAA:AAAA
mac: AA:AA:AA:AA:AA:AA
is_pe: false

0 comments on commit ce049cf

Please sign in to comment.