Skip to content
Snippets Groups Projects
Commit b2b43f71 authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Sourcery: keep "use-named-expression" check disabled

This suggestion aims to reduce code size, but IMO for the expense of
readability for non-python-experts, so we disable it.

See for reference:
https://docs.sourcery.ai/Reference/Python/Default-Rules/use-named-expression/
parent ae8c5423
No related branches found
No related tags found
1 merge request!321Sourcery: keep "use-named-expression" check disabled
Pipeline #76814 skipped with stage
...@@ -10,13 +10,14 @@ rule_settings: ...@@ -10,13 +10,14 @@ rule_settings:
- min-max-identity - min-max-identity
# Keep explicit lower range limit instead of using implicit default value # Keep explicit lower range limit instead of using implicit default value
- remove-zero-from-range - remove-zero-from-range
# Don't combine two operations on a single line
- use-named-expression
# Requires special Python knowlege that not everyone reading the code might have # Requires special Python knowlege that not everyone reading the code might have
- use-next - use-next
# FIXME: verify if we want to keep the checks below. # FIXME: verify if we want to keep the checks below.
# If not, remove them. If yes, move them above this comment. # If not, remove them. If yes, move them above this comment.
- low-code-quality - low-code-quality
- for-append-to-extend - for-append-to-extend
- use-named-expression
rule_types: rule_types:
- refactoring - refactoring
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment