Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RuboCop issues #413

Merged
merged 4 commits into from
Feb 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rubocop: regenerate .rubocop_todo.yml
  • Loading branch information
andrykonchin committed Feb 21, 2020
commit 7755c47b21923f47aad14f8db1e68513c12d5dde
42 changes: 32 additions & 10 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,57 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-06-18 22:26:49 +0300 using RuboCop version 0.57.2.
# on 2020-02-21 21:25:40 +0200 using RuboCop version 0.80.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: 2
Lint/SuppressedException:
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
Layout/ExtraSpacing:
Exclude:
- 'lib/dynamoid/document.rb'
- 'dynamoid.gemspec'

# Offense count: 1
# Cop supports --auto-correct.
Security/YAMLLoad:
Lint/OrderedMagicComments:
Exclude:
- 'lib/dynamoid/persistence.rb'

# Offense count: 3
# Configuration parameters: AllowComments.
Lint/SuppressedException:
Exclude:
- 'lib/dynamoid/dirty.rb'
- 'lib/dynamoid/persistence/update_fields.rb'
- 'lib/dynamoid/persistence/upsert.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
Exclude:
- 'lib/dynamoid/dirty.rb'

# Offense count: 3
Style/CommentedKeyword:
Exclude:
- 'lib/dynamoid/dirty.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# Configuration parameters: EnforcedStyle, Autocorrect.
# SupportedStyles: module_function, extend_self
Style/ModuleFunction:
Exclude:
- 'lib/dynamoid.rb'
- 'lib/dynamoid/config.rb'

# Offense count: 1
# Offense count: 3
Style/OptionalArguments:
Exclude:
- 'lib/dynamoid/document.rb'
- 'lib/dynamoid/persistence.rb'

# Offense count: 1
# Cop supports --auto-correct.
Expand All @@ -40,8 +62,8 @@ Style/Semicolon:

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
# AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
Exclude:
- 'lib/dynamoid/adapter_plugin/aws_sdk_v3.rb'