group orders: display deposit, tolerance only if necessary #772
Annotations
6 errors and 1 warning
test:
app/models/concerns/price_calculation.rb#L6
Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use `include_deposit: true` instead of `include_deposit = true`.
|
test:
app/models/concerns/price_calculation.rb#L16
Lint/UselessAssignment: Useless assignment to variable - `include_deposit`.
|
test:
app/models/concerns/price_calculation.rb#L24
Lint/LiteralAsCondition: Literal `false` appeared as a condition.
|
test:
app/models/concerns/price_calculation.rb#L24
Layout/TrailingWhitespace: Trailing whitespace detected.
|
test:
app/models/order.rb#L1
Metrics/ClassLength: Class has too many lines. [308/304]
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|