summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCrae <andy.mccrae@googlemail.com>2014-02-25 17:44:37 +0000
committerAndy McCrae <andy.mccrae@googlemail.com>2014-02-25 17:44:37 +0000
commitdd97ef9f5e12a048f0bd9ae5dff2c77e355260fd (patch)
tree7324bece71f90bed9597de31ef58b75ae7e2fa65
parente7bcd475a975c4905356eacb779c461108998509 (diff)
Disable the NumericLiterals cop for rubocop
- Disable the NumericLiterals cop in the .rubocop.yml file - this cop enforces an underscore '_' every 3 characters of an integer. This doesn't make much sense in our use case and reduces readability. Especially for port numbers. Change-Id: I179e2ced4aca4040098a268d6573b297ce4b32bc Addresses: blueprint rubocop-integer
Notes
Notes (review): Verified+2: Jenkins Approved+1: Matt Ray <matthewhray@gmail.com> Code-Review+2: John Dewey <john@dewey.ws> Verified+1: Wherenow.org Jenkins CI <jenkins@wherenow.org> Submitted-by: Jenkins Submitted-at: Tue, 25 Feb 2014 18:38:58 +0000 Reviewed-on: https://review.openstack.org/76279 Project: stackforge/cookbook-openstack-block-storage Branch: refs/heads/master
-rw-r--r--.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 8dc6194..5500e6d 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -14,6 +14,9 @@ Encoding:
14 - metadata.rb 14 - metadata.rb
15 - Gemfile 15 - Gemfile
16 16
17NumericLiterals:
18 Enabled: false
19
17LineLength: 20LineLength:
18 Enabled: false 21 Enabled: false
19 22