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

Refactoring: replace if-expression with or

See for reference:
https://docs.sourcery.ai/Reference/Python/Default-Rules/or-if-exp-identity/
parent ccdac3d5
No related branches found
No related tags found
1 merge request!269Refactoring: replace if-expression with or
Pipeline #70706 skipped with stage
......@@ -32,7 +32,6 @@ rule_settings:
- merge-comparisons
- merge-else-if-into-elif
- min-max-identity
- or-if-exp-identity
rule_types:
- refactoring
......
......@@ -16,7 +16,7 @@ def get_merge_requests(
all_merge_requests = project.mergerequests.list(
source_branch=source_branch,
target_branch=target_branch,
state=state if state else "all",
state=state or "all",
all=True,
retry_transient_errors=True,
)
......
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