# This configuration was generated by # `rubocop --auto-gen-config` # on 2023-01-23 19:20:44 UTC using RuboCop version 1.44.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: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. # Include: **/*.gemfile, **/Gemfile, **/gems.rb Bundler/OrderedGems: Exclude: - 'Gemfile' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Lint/NonDeterministicRequireOrder: Exclude: - 'spec/spec_helper.rb' # Offense count: 1 Lint/NonLocalExitFromIterator: Exclude: - 'spec/support/helpers/integration_helper.rb' # Offense count: 1 # Configuration parameters: AllowComments, AllowNil. Lint/SuppressedException: Exclude: - 'lib/gitaly_server/repository_service.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/gitaly_server/sentry_interceptor.rb' # Offense count: 3 # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 37 # Offense count: 5 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. # AllowedMethods: refine Metrics/BlockLength: Max: 67 # Offense count: 1 # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. Metrics/CyclomaticComplexity: Max: 10 # Offense count: 5 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. Metrics/MethodLength: Max: 35 # Offense count: 1 # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. Metrics/PerceivedComplexity: Max: 10 # Offense count: 13 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'bin/gitaly-ruby' - 'lib/gitaly_server.rb' - 'lib/gitaly_server/health_service.rb' - 'lib/gitaly_server/repository_service.rb' - 'lib/gitaly_server/sentry.rb' - 'lib/gitaly_server/sentry_interceptor.rb' - 'lib/gitaly_server/utils.rb' - 'lib/gitlab/config.rb' # Offense count: 19 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Style/GlobalStdStream: Exclude: - 'bin/gitaly-ruby' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedOctalStyle. # SupportedOctalStyles: zero_with_o, zero_only Style/NumericLiteralPrefix: Exclude: - 'bin/gitaly-ruby' # Offense count: 13 # This cop supports safe autocorrection (--autocorrect). Style/RedundantFileExtensionInRequire: Exclude: - 'bin/gitaly-ruby' - 'lib/gitaly_server.rb' - 'lib/gitaly_server/sentry_interceptor.rb' - 'spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb' - 'spec/lib/gitaly_server/sentry/url_sanitizer_spec.rb' - 'spec/lib/gitaly_server/sentry_interceptor_spec.rb' - 'spec/spec_helper.rb' # Offense count: 13 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'lib/gitaly_server/exception_sanitizer_interceptor.rb' - 'lib/gitaly_server/sentry_interceptor.rb' - 'spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb' - 'spec/lib/gitaly_server/sentry/url_sanitizer_spec.rb' - 'spec/lib/gitaly_server/sentry_interceptor_spec.rb' - 'spec/support/helpers/integration_helper.rb' # Offense count: 3 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: RequireEnglish. # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names Style/SpecialGlobalVars: EnforcedStyle: use_perl_names # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'bin/gitaly-ruby' - 'spec/factories/gitaly/commit.rb' # Offense count: 28 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'bin/gitaly-ruby' - 'lib/gitaly_server/repository_service.rb' - 'lib/gitaly_server/sentry_interceptor.rb' - 'spec/factories/gitaly/commit.rb' - 'spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb' - 'spec/lib/gitaly_server/sentry/url_sanitizer_spec.rb' - 'spec/lib/gitaly_server/sentry_interceptor_spec.rb' - 'spec/spec_helper.rb' - 'spec/support/helpers/integration_helper.rb' - 'spec/support/sentry.rb' - 'spec/test_repo_helper.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 141