diff --git a/scripts/.sourcery.yaml b/scripts/.sourcery.yaml
index fb30e8ef15aa2ebc5e0bea04b257732f4b5dc675..049190bdb243dabbc2fd8077d340582aa9762865 100644
--- a/scripts/.sourcery.yaml
+++ b/scripts/.sourcery.yaml
@@ -33,7 +33,6 @@ rule_settings:
   - use-next
   - sum-comprehension
   - use-join
-  - merge-comparisons
 
   rule_types:
   - refactoring
diff --git a/scripts/gitlab_backup.py b/scripts/gitlab_backup.py
index b4e8677062af0236f0981e7fb0c388029f505359..d4662e5383ce0530696b5235d491196e6c8cf387 100755
--- a/scripts/gitlab_backup.py
+++ b/scripts/gitlab_backup.py
@@ -283,11 +283,7 @@ def main(args):
 
             if status != "finished":
                 logging.debug("Project export status for %s: %s", project, status)
-                if (
-                    status == "started"
-                    or status == "queued"
-                    or status == "regeneration_in_progress"
-                ):
+                if status in ["started", "queued", "regeneration_in_progress"]:
                     in_started_state += 1
                 continue