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

Sourcery: skip use-assigned-variable

parent 26591c0b
No related branches found
No related tags found
1 merge request!265Sourcery: skip use-assigned-variable
Pipeline #70696 skipped with stage
......@@ -46,7 +46,6 @@ rule_settings:
- simplify-constant-sum
- simplify-fstring-formatting
- simplify-generator
- use-assigned-variable
rule_types:
- refactoring
......
......@@ -59,6 +59,7 @@ def get_submodule_integration_branch_suffix(submodule_project: Project, revision
# Find out if top commit is part of a merge request
# If so, use source branch of this MR as integration branch name
# Else use commit sha instead
# sourcery skip: use-assigned-variable
integration_branch_suffix = revision
for mr in submodule_project.commits.get(revision).merge_requests():
if mr["target_branch"] == submodule_project.default_branch:
......
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