diff --git a/scripts/.sourcery.yaml b/scripts/.sourcery.yaml index caee6a6263010d103522aafacb7e0c64220a8308..424f2d5e7077c1d2bc00234791d89b9d096dc13f 100644 --- a/scripts/.sourcery.yaml +++ b/scripts/.sourcery.yaml @@ -16,7 +16,6 @@ rule_settings: - replace-interpolation-with-fstring - use-fstring-for-concatenation - remove-redundant-if - - switch - low-code-quality - for-append-to-extend - raise-specific-error diff --git a/scripts/get_integration_sources.py b/scripts/get_integration_sources.py index 2a631ec69e874f1f71fb6ce7f0ba890b813c127e..f4552ebf05f707089b5d8260c40fb2756aba91c8 100755 --- a/scripts/get_integration_sources.py +++ b/scripts/get_integration_sources.py @@ -41,6 +41,9 @@ def get_integration_sources(manifest_project: str, manifest_branch: str, group: "branch": source_branch, } ) + # Skip a sourcery suggestion because the way it is written is easier to + # understand than the suggested change. + # sourcery skip: switch except GitlabGetError as e: if e.response_code == 404: # not found pass