|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2025-04-03 13:59:12 UTC using RuboCop version 1.68.0. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 2 |
| 10 | +# This cop supports safe autocorrection (--autocorrect). |
| 11 | +# Configuration parameters: Include. |
| 12 | +# Include: **/*.gemspec |
| 13 | +Gemspec/AddRuntimeDependency: |
| 14 | + Exclude: |
| 15 | + - 'ruby-dbus.gemspec' |
| 16 | + |
| 17 | +# Offense count: 8 |
| 18 | +# Configuration parameters: EnforcedStyle, AllowedGems, Include. |
| 19 | +# SupportedStyles: Gemfile, gems.rb, gemspec |
| 20 | +# Include: **/*.gemspec, **/Gemfile, **/gems.rb |
| 21 | +Gemspec/DevelopmentDependencies: |
| 22 | + Exclude: |
| 23 | + - 'ruby-dbus.gemspec' |
| 24 | + |
| 25 | +# Offense count: 1 |
| 26 | +# This cop supports safe autocorrection (--autocorrect). |
| 27 | +# Configuration parameters: Severity, Include. |
| 28 | +# Include: **/*.gemspec |
| 29 | +Gemspec/RequireMFA: |
| 30 | + Exclude: |
| 31 | + - 'ruby-dbus.gemspec' |
| 32 | + |
| 33 | +# Offense count: 3 |
| 34 | +# Configuration parameters: AllowComments, AllowEmptyLambdas. |
| 35 | +Lint/EmptyBlock: |
| 36 | + Exclude: |
| 37 | + - 'examples/utils/notify.rb' |
| 38 | + - 'spec/object_spec.rb' |
| 39 | + - 'spec/signal_spec.rb' |
| 40 | + |
| 41 | +# Offense count: 1 |
| 42 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 43 | +Lint/IncompatibleIoSelectWithFiberScheduler: |
| 44 | + Exclude: |
| 45 | + - 'lib/dbus/message_queue.rb' |
| 46 | + |
| 47 | +# Offense count: 3 |
| 48 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 49 | +Style/EnvHome: |
| 50 | + Exclude: |
| 51 | + - 'examples/no-introspect/tracker-test.rb' |
| 52 | + - 'lib/dbus/auth.rb' |
| 53 | + - 'lib/dbus/bus.rb' |
| 54 | + |
| 55 | +# Offense count: 10 |
| 56 | +# This cop supports safe autocorrection (--autocorrect). |
| 57 | +# Configuration parameters: AllowedVars. |
| 58 | +Style/FetchEnvVar: |
| 59 | + Exclude: |
| 60 | + - 'examples/no-introspect/tracker-test.rb' |
| 61 | + - 'lib/dbus/auth.rb' |
| 62 | + - 'lib/dbus/bus.rb' |
| 63 | + - 'lib/dbus/logger.rb' |
| 64 | + - 'spec/connection_spec.rb' |
| 65 | + - 'spec/coverage_helper.rb' |
| 66 | + - 'spec/session_bus_spec.rb' |
| 67 | + - 'spec/spec_helper.rb' |
| 68 | + |
| 69 | +# Offense count: 1 |
| 70 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 71 | +# Configuration parameters: AllowSplatArgument. |
| 72 | +Style/HashConversion: |
| 73 | + Exclude: |
| 74 | + - 'lib/dbus/data.rb' |
| 75 | + |
| 76 | +# Offense count: 1 |
| 77 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 78 | +Style/MapIntoArray: |
| 79 | + Exclude: |
| 80 | + - 'lib/dbus/marshall.rb' |
| 81 | + |
| 82 | +# Offense count: 1 |
| 83 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 84 | +Style/MinMaxComparison: |
| 85 | + Exclude: |
| 86 | + - 'lib/dbus/auth.rb' |
| 87 | + |
| 88 | +# Offense count: 2 |
| 89 | +# This cop supports safe autocorrection (--autocorrect). |
| 90 | +Style/NegatedIfElseCondition: |
| 91 | + Exclude: |
| 92 | + - 'lib/dbus/connection.rb' |
| 93 | + |
| 94 | +# Offense count: 3 |
| 95 | +Style/OpenStructUse: |
| 96 | + Exclude: |
| 97 | + - 'spec/packet_marshaller_spec.rb' |
| 98 | + - 'spec/packet_unmarshaller_spec.rb' |
| 99 | + - 'spec/property_spec.rb' |
| 100 | + |
| 101 | +# Offense count: 5 |
| 102 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 103 | +# Configuration parameters: Methods. |
| 104 | +Style/RedundantArgument: |
| 105 | + Exclude: |
| 106 | + - 'lib/dbus/auth.rb' |
| 107 | + - 'lib/dbus/introspect.rb' |
| 108 | + - 'lib/dbus/object.rb' |
| 109 | + |
| 110 | +# Offense count: 4 |
| 111 | +# This cop supports safe autocorrection (--autocorrect). |
| 112 | +Style/RedundantConstantBase: |
| 113 | + Exclude: |
| 114 | + - 'spec/data_spec.rb' |
| 115 | + |
| 116 | +# Offense count: 1 |
| 117 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 118 | +Style/RedundantEach: |
| 119 | + Exclude: |
| 120 | + - 'spec/type_spec.rb' |
| 121 | + |
| 122 | +# Offense count: 3 |
| 123 | +# This cop supports safe autocorrection (--autocorrect). |
| 124 | +Style/RedundantRegexpArgument: |
| 125 | + Exclude: |
| 126 | + - 'examples/service/service_newapi.rb' |
| 127 | + - 'lib/dbus/object.rb' |
| 128 | + - 'spec/mock-service/spaghetti-monster.rb' |
| 129 | + |
| 130 | +# Offense count: 2 |
| 131 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 132 | +Style/StringChars: |
| 133 | + Exclude: |
| 134 | + - 'examples/service/service_newapi.rb' |
| 135 | + - 'spec/mock-service/spaghetti-monster.rb' |
| 136 | + |
| 137 | +# Offense count: 6 |
| 138 | +# This cop supports safe autocorrection (--autocorrect). |
| 139 | +Style/SuperArguments: |
| 140 | + Exclude: |
| 141 | + - 'examples/service/complex-property.rb' |
| 142 | + - 'lib/dbus/data.rb' |
| 143 | + - 'lib/dbus/introspect.rb' |
| 144 | + - 'spec/mock-service/spaghetti-monster.rb' |
| 145 | + |
| 146 | +# Offense count: 2 |
| 147 | +# This cop supports safe autocorrection (--autocorrect). |
| 148 | +Style/SuperWithArgsParentheses: |
| 149 | + Exclude: |
| 150 | + - 'lib/dbus/object.rb' |
| 151 | + - 'spec/mock-service/spaghetti-monster.rb' |
0 commit comments