Skip to content

Commit ce049cf

Browse files
jhbuchanan45github-actions[bot]
authored andcommitted
Apply Yamlfix format changes.
1 parent ea0b72e commit ce049cf

File tree

2 files changed

+18
-28
lines changed

2 files changed

+18
-28
lines changed

.rubocop.yml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,33 @@
11
---
2-
require:
3-
- rubocop-performance
4-
- rubocop-rspec
2+
require: [rubocop-performance, rubocop-rspec]
53
AllCops:
64
NewCops: enable
75
DisplayCopNames: true
86
TargetRubyVersion: '2.6'
9-
Include:
10-
- "**/*.rb"
7+
Include: ['**/*.rb']
118
Exclude:
12-
- bin/*
13-
- ".vendor/**/*"
14-
- "**/Gemfile"
15-
- "**/Rakefile"
16-
- pkg/**/*
17-
- spec/fixtures/**/*
18-
- vendor/**/*
19-
- "**/Puppetfile"
20-
- "**/Vagrantfile"
21-
- "**/Guardfile"
9+
- bin/*
10+
- .vendor/**/*
11+
- '**/Gemfile'
12+
- '**/Rakefile'
13+
- pkg/**/*
14+
- spec/fixtures/**/*
15+
- vendor/**/*
16+
- '**/Puppetfile'
17+
- '**/Vagrantfile'
18+
- '**/Guardfile'
2219
Layout/LineLength:
2320
Description: People have wide screens, use them.
2421
Max: 200
2522
RSpec/BeforeAfterAll:
2623
Description: Beware of using after(:all) as it may cause state to leak between tests.
2724
A necessary evil in acceptance testing.
28-
Exclude:
29-
- spec/acceptance/**/*.rb
25+
Exclude: [spec/acceptance/**/*.rb]
3026
RSpec/HookArgument:
3127
Description: Prefer explicit :each argument, matching existing module's style
3228
EnforcedStyle: each
3329
RSpec/DescribeSymbol:
34-
Exclude:
35-
- spec/unit/facter/**/*.rb
30+
Exclude: [spec/unit/facter/**/*.rb]
3631
Style/BlockDelimiters:
3732
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
3833
be consistent then.
@@ -75,9 +70,7 @@ Style/SymbolArray:
7570
RSpec/MessageSpies:
7671
EnforcedStyle: receive
7772
Style/Documentation:
78-
Exclude:
79-
- lib/puppet/parser/functions/**/*
80-
- spec/**/*
73+
Exclude: [lib/puppet/parser/functions/**/*, spec/**/*]
8174
Style/WordArray:
8275
EnforcedStyle: brackets
8376
Performance/AncestorsInclude:

spec/default_facts.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
# Use default_module_facts.yml for module specific facts.
2-
#
3-
# Facts specified here will override the values provided by rspec-puppet-facts.
41
---
52
networking:
6-
ip: "172.16.254.254"
7-
ip6: "FE80:0000:0000:0000:AAAA:AAAA:AAAA"
8-
mac: "AA:AA:AA:AA:AA:AA"
3+
ip: 172.16.254.254
4+
ip6: FE80:0000:0000:0000:AAAA:AAAA:AAAA
5+
mac: AA:AA:AA:AA:AA:AA
96
is_pe: false

0 commit comments

Comments
 (0)