-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/SLE-12-GA' into merge_SLE12
Conflicts: .travis.yml Rakefile library/general/src/modules/Arch.rb library/general/test/agents_test/proc_meminfo_agent_test.rb library/general/test/test_helper.rb library/system/src/clients/view_anymsg.rb library/types/src/modules/IP.rb library/types/test/ip_test.rb package/yast2.changes
- Loading branch information
Showing
245 changed files
with
6,433 additions
and
6,851 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# use the shared Yast defaults | ||
inherit_from: | ||
/usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml | ||
|
||
# Offense count: 493 | ||
Metrics/AbcSize: | ||
Max: 446 | ||
|
||
# Offense count: 51 | ||
Metrics/BlockNesting: | ||
Max: 6 | ||
|
||
# Offense count: 84 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 2880 | ||
|
||
# Offense count: 184 | ||
Metrics/CyclomaticComplexity: | ||
Max: 63 | ||
|
||
# Offense count: 1820 | ||
# Configuration parameters: AllowURI, URISchemes. | ||
Metrics/LineLength: | ||
Max: 274 | ||
|
||
# Offense count: 824 | ||
# Configuration parameters: CountComments. | ||
Metrics/MethodLength: | ||
Max: 931 | ||
|
||
# Offense count: 20 | ||
# Configuration parameters: CountKeywordArgs. | ||
Metrics/ParameterLists: | ||
Max: 11 | ||
|
||
# Offense count: 179 | ||
Metrics/PerceivedComplexity: | ||
Max: 76 | ||
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# JR: I personally think that having this variable on class level is much more readable | ||
# and easier to recognize that access visibility changed | ||
Style/AccessModifierIndentation: | ||
EnforcedStyle: outdent | ||
|
||
Style/AccessorMethodName: | ||
# keep backward compatibility, but do not allow new code to be non-ruby style | ||
Exclude: | ||
- library/systemd/src/modules/systemd_target.rb | ||
|
||
# Keep non-ascii comments as it contains e.g. examples for Punycode | ||
Style/AsciiComments: | ||
Enabled: false | ||
|
||
# UI_ID module is not camel case | ||
Style/ClassAndModuleCamelCase: | ||
Enabled: false | ||
|
||
# ensure new code is properly documented | ||
Style/Documentation: | ||
Include: | ||
- "library/*/src/lib/**/*.rb" | ||
|
||
# keep double negation as conversion to boolean | ||
Style/DoubleNegation: | ||
Enabled: false | ||
|
||
Style/FileName: | ||
Include: | ||
- "library/*/src/lib/**/*.rb" | ||
|
||
Style/MethodName: | ||
Include: | ||
- "library/*/src/lib/**/*.rb" | ||
|
||
# keep it as it is part of API for old code | ||
Style/PredicateName: | ||
Include: | ||
- "library/*/src/lib/**/*.rb" | ||
|
||
# for old code keep it as often methods names are wrong and part of API | ||
Style/TrivialAccessors: | ||
Include: | ||
- "library/*/src/lib/**/*.rb" | ||
|
||
Style/VariableName: | ||
Include: | ||
- "library/*/src/lib/**/*.rb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
require "yast/rake" | ||
|
||
Yast::Tasks.configuration do |conf| | ||
#lets ignore license check for now | ||
# lets ignore license check for now | ||
conf.skip_license_check << /.*/ | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.