-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(maint) Finish PDK::Validate::* unit tests #139
Conversation
655c07c
to
799f753
Compare
lib/pdk/validators/ruby/rubocop.rb
Outdated
@@ -16,6 +16,10 @@ def self.cmd | |||
'rubocop' | |||
end | |||
|
|||
def self.pattern | |||
['**/*.rb'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recall we had a brief discussion about how rubocop should lint anything that has ruby in it, including Gemfile and Rakefile. Adding a pattern will ignore those files now, is that desired behavior?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point (although our .rubocop.yml
template in puppetlabs/pdk-module-template is explicitly excluding Gemfile
and Rakefile
at the moment, but we can fix that later). I'll remove the pattern and update the spec
9b4a5a7
to
f9c11db
Compare
f9c11db
to
7f166b9
Compare
No description provided.