Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto generated todo list for rubocop
Created by executing `rubocop --auto-gen-config` Currently since the .rubocop.yml file is empty it uses the default.yml settings as the default for the style-guide. Custom rules can be added into the local .rubocop.yml and it will override the default. `inherit_from: .rubocop_todo.yml` currently ignores the violations reported in .rubocop_todo.yml. Next step is to remove the exclusions in the todo file and fix the violations. This way all the corrections regarding a particular style can be added in a single commit. Repeat this till all exclusions are fixed.
- Loading branch information
1 parent
b0cbe39
commit 53002dd
Showing
2 changed files
with
318 additions
and
0 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 @@ | ||
inherit_from: .rubocop_todo.yml |
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,317 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2016-10-06 20:09:56 +0530 using RuboCop version 0.42.0. | ||
# 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 | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AlignWith, SupportedStyles. | ||
# SupportedStyles: either, start_of_block, start_of_line | ||
Lint/BlockAlignment: | ||
Exclude: | ||
- 'spec/lambdify_spec.rb' | ||
|
||
# Offense count: 1 | ||
Lint/Eval: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Lint/StringConversionInInterpolation: | ||
Exclude: | ||
- 'lib/symengine/basic.rb' | ||
|
||
# Offense count: 1 | ||
Metrics/AbcSize: | ||
Max: 20 | ||
|
||
# Offense count: 28 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 178 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments. | ||
Metrics/MethodLength: | ||
Max: 16 | ||
|
||
# Offense count: 6 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles. | ||
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit | ||
Style/AlignHash: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. | ||
# SupportedStyles: line_count_based, semantic, braces_for_chaining | ||
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object | ||
# FunctionalMethods: let, let!, subject, watch | ||
# IgnoredMethods: lambda, proc, it | ||
Style/BlockDelimiters: | ||
Exclude: | ||
- 'spec/functions_spec.rb' | ||
|
||
# Offense count: 83 | ||
# Cop supports --auto-correct. | ||
Style/ColonMethodCall: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
- 'lib/symengine/basic.rb' | ||
- 'spec/evalf_spec.rb' | ||
- 'spec/function_symbol_spec.rb' | ||
- 'spec/functions_spec.rb' | ||
- 'spec/lambdify_spec.rb' | ||
- 'spec/ntheory_spec.rb' | ||
- 'spec/symengine_spec.rb' | ||
|
||
# Offense count: 8 | ||
Style/Documentation: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'test/**/*' | ||
- 'lib/symengine.rb' | ||
- 'lib/symengine/basic.rb' | ||
- 'lib/symengine/complex.rb' | ||
- 'lib/symengine/complex_double.rb' | ||
- 'lib/symengine/integer.rb' | ||
- 'lib/symengine/iruby.rb' | ||
- 'lib/symengine/undef_function.rb' | ||
|
||
# Offense count: 6 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowAdjacentOneLineDefs. | ||
Style/EmptyLineBetweenDefs: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
- 'lib/symengine/basic.rb' | ||
|
||
# Offense count: 5 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: empty_lines, no_empty_lines | ||
Style/EmptyLinesAroundBlockBody: | ||
Exclude: | ||
- 'spec/constant_spec.rb' | ||
- 'spec/function_symbol_spec.rb' | ||
- 'spec/lambdify_spec.rb' | ||
- 'spec/real_mpfr_spec.rb' | ||
- 'spec/symengine_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. | ||
Style/ExtraSpacing: | ||
Exclude: | ||
- 'spec/evalf_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: format, sprintf, percent | ||
Style/FormatString: | ||
Exclude: | ||
- 'ext/symengine/extconf.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. | ||
# SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets | ||
Style/HashSyntax: | ||
Exclude: | ||
- 'notebooks/Gemfile' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: normal, rails | ||
Style/IndentationConsistency: | ||
Exclude: | ||
- 'spec/constant_spec.rb' | ||
|
||
# Offense count: 18 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: Width. | ||
Style/IndentationWidth: | ||
Exclude: | ||
- 'ext/symengine/extconf.rb' | ||
- 'lib/symengine.rb' | ||
- 'lib/symengine/complex.rb' | ||
- 'lib/symengine/complex_double.rb' | ||
- 'lib/symengine/integer.rb' | ||
- 'lib/symengine/undef_function.rb' | ||
- 'spec/evalf_spec.rb' | ||
- 'spec/lambdify_spec.rb' | ||
- 'symengine.gemspec' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: call, braces | ||
Style/LambdaCall: | ||
Exclude: | ||
- 'spec/function_symbol_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline | ||
Style/MethodDefParentheses: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: snake_case, camelCase | ||
Style/MethodName: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: symmetrical, new_line, same_line | ||
Style/MultilineArrayBraceLayout: | ||
Exclude: | ||
- 'spec/functions_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
Style/NumericLiterals: | ||
MinDigits: 11 | ||
|
||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowSafeAssignment. | ||
Style/ParenthesesAroundCondition: | ||
Exclude: | ||
- 'ext/symengine/extconf.rb' | ||
|
||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: PreferredDelimiters. | ||
Style/PercentLiteralDelimiters: | ||
Exclude: | ||
- 'spec/symbol_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
Style/RedundantParentheses: | ||
Exclude: | ||
- 'spec/function_symbol_spec.rb' | ||
- 'spec/functions_spec.rb' | ||
|
||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
Style/RedundantSelf: | ||
Exclude: | ||
- 'lib/symengine/integer.rb' | ||
- 'lib/symengine/iruby.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: SupportedStyles. | ||
# SupportedStyles: space, no_space | ||
Style/SpaceAroundEqualsInParameterDefault: | ||
EnforcedStyle: no_space | ||
|
||
# Offense count: 14 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowForAlignment. | ||
Style/SpaceAroundOperators: | ||
Exclude: | ||
- 'spec/basic_spec.rb' | ||
- 'spec/constant_spec.rb' | ||
- 'spec/function_symbol_spec.rb' | ||
- 'spec/functions_spec.rb' | ||
- 'spec/lambdify_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowForAlignment. | ||
Style/SpaceBeforeFirstArg: | ||
Exclude: | ||
- 'spec/evalf_spec.rb' | ||
|
||
# Offense count: 10 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. | ||
# SupportedStyles: space, no_space | ||
Style/SpaceInsideBlockBraces: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
- 'lib/symengine/basic.rb' | ||
- 'spec/basic_spec.rb' | ||
- 'spec/constant_spec.rb' | ||
- 'spec/functions_spec.rb' | ||
- 'spec/lambdify_spec.rb' | ||
|
||
# Offense count: 39 | ||
# Cop supports --auto-correct. | ||
Style/SpaceInsideParens: | ||
Exclude: | ||
- 'spec/lambdify_spec.rb' | ||
|
||
# Offense count: 66 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. | ||
# SupportedStyles: single_quotes, double_quotes | ||
Style/StringLiterals: | ||
Exclude: | ||
- 'ext/symengine/extconf.rb' | ||
- 'lib/symengine.rb' | ||
- 'lib/symengine/basic.rb' | ||
- 'lib/symengine/complex_double.rb' | ||
- 'spec/basic_spec.rb' | ||
- 'spec/evalf_spec.rb' | ||
- 'spec/functions_spec.rb' | ||
- 'spec/lambdify_spec.rb' | ||
- 'spec/real_mpfr_spec.rb' | ||
- 'symengine.gemspec' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: IgnoredMethods. | ||
# IgnoredMethods: respond_to, define_method | ||
Style/SymbolProc: | ||
Exclude: | ||
- 'spec/functions_spec.rb' | ||
|
||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: final_newline, final_blank_line | ||
Style/TrailingBlankLines: | ||
Exclude: | ||
- 'spec/complex_double_spec.rb' | ||
- 'spec/complex_spec.rb' | ||
- 'spec/function_symbol_spec.rb' | ||
|
||
# Offense count: 31 | ||
# Cop supports --auto-correct. | ||
Style/TrailingWhitespace: | ||
Exclude: | ||
- 'lib/symengine.rb' | ||
- 'lib/symengine/basic.rb' | ||
- 'lib/symengine/complex.rb' | ||
- 'lib/symengine/complex_double.rb' | ||
- 'lib/symengine/undef_function.rb' | ||
- 'spec/complex_double_spec.rb' | ||
- 'spec/complex_spec.rb' | ||
- 'spec/constant_spec.rb' | ||
- 'spec/evalf_spec.rb' | ||
- 'spec/function_symbol_spec.rb' | ||
- 'spec/lambdify_spec.rb' | ||
- 'spec/real_mpfr_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Style/ZeroLengthPredicate: | ||
Exclude: | ||
- 'lib/symengine.rb' |