airbnb/caravel

View on GitHub

Showing 2,441 of 6,157 total issues

Avoid too many return statements within this function.
Open

                        return executor_type, user.username
Severity: Major
Found in superset/tasks/utils.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return obj.decode("utf-16")
    Severity: Major
    Found in superset/utils/json.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return lambda: os.urandom(length)
      Severity: Major
      Found in superset/utils/mock_data.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return False
        Severity: Major
        Found in superset/utils/core.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return lambda: {
          Severity: Major
          Found in superset/utils/mock_data.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return float(obj)
            Severity: Major
            Found in superset/utils/json.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return obj.decode("utf-8")
              Severity: Major
              Found in superset/utils/json.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return "[bytes]"
                Severity: Major
                Found in superset/utils/json.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return str(obj)
                  Severity: Major
                  Found in superset/utils/json.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return lambda: random.choice([True, False])
                    Severity: Major
                    Found in superset/utils/mock_data.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return lambda: time(
                      Severity: Major
                      Found in superset/utils/mock_data.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return lambda: datetime.fromordinal(MINIMUM_DATE.toordinal()) + timedelta(
                        Severity: Major
                        Found in superset/utils/mock_data.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return executor_type, owner.username
                          Severity: Major
                          Found in superset/tasks/utils.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                            return executor_type, user.username
                            Severity: Major
                            Found in superset/tasks/utils.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return []
                              Severity: Major
                              Found in superset/db_engine_specs/databend.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                return default
                                Severity: Major
                                Found in superset/db_engine_specs/trino.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return seen_select
                                  Severity: Major
                                  Found in superset/sql_parse.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return []
                                    Severity: Major
                                    Found in superset/db_engine_specs/clickhouse.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return None
                                      Severity: Major
                                      Found in superset/db_engine_specs/kusto.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return False
                                        Severity: Major
                                        Found in superset/sql_parse.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language