diff options
author | Christopher H. Laco <chris.laco@rackspace.com> | 2014-02-04 15:27:56 -0500 |
---|---|---|
committer | Christopher H. Laco <chris.laco@rackspace.com> | 2014-02-04 15:27:56 -0500 |
commit | ef8c535cc832febbd47ce903c72e676aa532902b (patch) | |
tree | 91f472c1ad24f3266d192c39301dd2fb23db79c2 /.rubocop.yml | |
parent | 3cc1b69377b902edda92ab6c120c5e5d0722ab5e (diff) |
Upgrade/Update rubocop
Now that almost all of the rubocop blueprints have been completed, make
one final pass through all of the cookbooks ensuring they're all in
sync with each other.
- Upgrade rubocop to 0.18.1
- Fix violations caused by 0.18.1 upgrade
- Add Includes for non-existent folders to Includes so they
automatically cover future additions
Change-Id: I9224b785f50103d348e3b16ea24e5dc8cab84c62
Implements: blueprint lint-and-unit-testing-for-havana
Notes
Notes (review):
Verified+2: Jenkins
Code-Review+2: Matt Ray <matthewhray@gmail.com>
Approved+1: Andy McCrae <andy.mccrae@googlemail.com>
Code-Review+2: Andy McCrae <andy.mccrae@googlemail.com>
Code-Review+1: Mark Vanderwiel <vanderwl@us.ibm.com>
Code-Review+1: Richard Theis <rtheis@us.ibm.com>
Submitted-by: Jenkins
Submitted-at: Thu, 06 Feb 2014 10:46:14 +0000
Reviewed-on: https://review.openstack.org/71090
Project: stackforge/cookbook-openstack-block-storage
Branch: refs/heads/master
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 888678a..8dc6194 100644 --- a/.rubocop.yml +++ b/.rubocop.yml | |||
@@ -3,13 +3,19 @@ AllCops: | |||
3 | - metadata.rb | 3 | - metadata.rb |
4 | - Gemfile | 4 | - Gemfile |
5 | - attributes/** | 5 | - attributes/** |
6 | - libraries/** | ||
7 | - providers/** | ||
6 | - recipes/** | 8 | - recipes/** |
9 | - resources/** | ||
7 | - spec/** | 10 | - spec/** |
8 | 11 | ||
9 | # ignore long lines | 12 | Encoding: |
13 | Exclude: | ||
14 | - metadata.rb | ||
15 | - Gemfile | ||
16 | |||
10 | LineLength: | 17 | LineLength: |
11 | Enabled: false | 18 | Enabled: false |
12 | 19 | ||
13 | # Allow small arrays before forcing %w or %W | ||
14 | WordArray: | 20 | WordArray: |
15 | MinSize: 3 | 21 | MinSize: 3 |