mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
rubocop: annotate exceptions
This commit is contained in:
parent
b1826a1abc
commit
e0d5b461b3
2 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,6 @@ Metrics/BlockNesting:
|
|||
|
||||
Metrics/ClassLength:
|
||||
Max: 575
|
||||
Exclude:
|
||||
- 'app/models/conference.rb'
|
||||
|
||||
# avoid redundunt curly braces when it is obvious that hash is used
|
||||
Style/BracesAroundHashParameters:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# rubocop:disable Metrics/ClassLength
|
||||
##
|
||||
# This class represents a conference
|
||||
class Conference < ActiveRecord::Base
|
||||
|
|
@ -1063,3 +1064,4 @@ class Conference < ActiveRecord::Base
|
|||
result
|
||||
end
|
||||
end
|
||||
# rubocop:enable Metrics/ClassLength
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue