Skip to content

Commit

Permalink
lint: stick to rubocop 1.12.x for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jay7x committed Dec 21, 2022
1 parent 7a03625 commit b5b9c86
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ AllCops:
TargetRubyVersion: '2.4'
Exclude:
- vendor/**/*

# Disable temporarily
Style/HashSyntax:
Enabled: false
7 changes: 3 additions & 4 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-12-21 17:49:13 UTC using RuboCop version 1.12.1.
# on 2022-12-21 18:24:52 UTC using RuboCop version 1.12.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -155,13 +155,12 @@ Layout/SpaceAroundKeyword:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'

# Offense count: 20
# Offense count: 19
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
# SupportedStylesForExponentOperator: space, no_space
Layout/SpaceAroundOperators:
Exclude:
- 'Gemfile'
- 'lib/beaker/hypervisor/docker.rb'
- 'spec/beaker/hypervisor/docker_spec.rb'

Expand Down Expand Up @@ -542,7 +541,7 @@ Style/GuardClause:
Exclude:
- 'lib/beaker/hypervisor/docker.rb'

# Offense count: 41
# Offense count: 39
# Cop supports --auto-correct.
# Configuration parameters: UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ if File.exists? "#{__FILE__}.local"
eval(File.read("#{__FILE__}.local"), binding)
end

group :coverage, optional: ENV['COVERAGE']!='yes' do
gem 'simplecov-console', :require => false
gem 'codecov', :require => false
group :coverage, optional: ENV['COVERAGE'] != 'yes' do
gem 'simplecov-console', require: false
gem 'codecov', require: false
end

group :release do
Expand Down

0 comments on commit b5b9c86

Please sign in to comment.