localstack/localstack

View on GitHub

Showing 3,177 of 3,177 total issues

Avoid too many return statements within this function.
Open

        return True

    Avoid too many return statements within this function.
    Open

                return selected_map.get(first_level_attribute).get(second_level_attribute)

      Avoid too many return statements within this function.
      Open

                  return to_str(base64.b64encode(to_bytes(value_to_encode)))

        Avoid too many return statements within this function.
        Open

            return resources[ref].get("PhysicalResourceId")

          Avoid too many return statements within this function.
          Open

                  return match.group(0)

            Avoid too many return statements within this function.
            Open

                    return {}

              Avoid too many return statements within this function.
              Open

                              return values[index]

                Avoid too many return statements within this function.
                Open

                        return PLACEHOLDER_AWS_NO_VALUE

                  Avoid too many return statements within this function.
                  Open

                          return "firehose"
                  Severity: Major
                  Found in localstack-core/localstack/services/cloudformation/resource_provider.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return [p.strip() for p in parameter_value.split(",")]

                      Avoid too many return statements within this function.
                      Open

                                  return parameter_value

                        Avoid too many return statements within this function.
                        Open

                            return result

                          Avoid too many return statements within this function.
                          Open

                                          return None

                            Avoid too many return statements within this function.
                            Open

                                        return result

                              Avoid too many return statements within this function.
                              Open

                                      return _obj
                              Severity: Major
                              Found in localstack-core/localstack/services/cloudformation/deployment_utils.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return string.split(delimiter)

                                  Avoid too many return statements within this function.
                                  Open

                                          return account_id

                                    Avoid too many return statements within this function.
                                    Open

                                                return stack_export["Value"]

                                      Avoid too many return statements within this function.
                                      Open

                                                  return result

                                        Avoid too many return statements within this function.
                                        Open

                                                    return conditions[value[keys_list[0]]]
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language