mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix Travis-Ci errors
Rubocop offenses lead to failure of Travis-ci build. Offensive files are added as exclude files of respective offense in rubocop_todo.yml
This commit is contained in:
parent
53a2246ff2
commit
4b72d383ea
1 changed files with 5 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ Bundler/OrderedGems:
|
|||
Exclude:
|
||||
- 'Gemfile'
|
||||
|
||||
# Offense count: 28
|
||||
# Offense count: 29
|
||||
Lint/AmbiguousBlockAssociation:
|
||||
Exclude:
|
||||
- 'app/models/comment.rb'
|
||||
|
|
@ -28,6 +28,7 @@ Lint/AmbiguousBlockAssociation:
|
|||
- 'spec/controllers/proposals_controller_spec.rb'
|
||||
- 'spec/controllers/schedules_controller_spec.rb'
|
||||
- 'spec/models/user_spec.rb'
|
||||
- 'spec/controllers/admin/users_controller_spec.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
|
|
@ -80,10 +81,12 @@ Metrics/LineLength:
|
|||
Metrics/MethodLength:
|
||||
Max: 56
|
||||
|
||||
# Offense count: 1
|
||||
# Offense count: 2
|
||||
# Configuration parameters: CountComments.
|
||||
Metrics/ModuleLength:
|
||||
Max: 472
|
||||
Exclude:
|
||||
- 'app/helpers/application_helper.rb'
|
||||
|
||||
# Offense count: 14
|
||||
Metrics/PerceivedComplexity:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue