airbnb/caravel

View on GitHub

Showing 2,441 of 6,157 total issues

Avoid too many return statements within this function.
Open

  return {
    scope: [],
    immune: chartsImmune,
  };
Severity: Major
Found in superset-frontend/src/dashboard/util/getFilterScopeFromNodesTree.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return this.props.cacheBusterProp !== nextProps.cacheBusterProp;
    Severity: Major
    Found in superset-frontend/src/dashboard/components/gridComponents/Chart.jsx - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return self.response_422(message=str(ex))
      Severity: Major
      Found in superset/row_level_security/api.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return hasChildren ? DROP_BOTTOM : DROP_TOP;
        Severity: Major
        Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return self.response_400(message=str(ex))
          Severity: Major
          Found in superset/databases/api.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return self.response(302, redirect=ex.redirect)
            Severity: Major
            Found in superset/explore/api.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return self.response_422(message=str(ex))
              Severity: Major
              Found in superset/databases/api.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return self.response(404, message=str(ex))
                Severity: Major
                Found in superset/explore/permalink/api.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return self.response(404, message=str(ex))
                  Severity: Major
                  Found in superset/explore/api.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return "DATETIME"
                    Severity: Major
                    Found in superset/result_set.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return self.response_422(message=str(ex))
                      Severity: Major
                      Found in superset/reports/api.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return self.response_422(message=str(ex))
                        Severity: Major
                        Found in superset/databases/api.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return self.response_400(message=str(ex))
                          Severity: Major
                          Found in superset/databases/api.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return self.response_422(message=str(ex))
                            Severity: Major
                            Found in superset/reports/api.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

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

                                Avoid too many return statements within this function.
                                Open

                                            return self.response(ex.status, message=ex.message)
                                Severity: Major
                                Found in superset/databases/api.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return self.response_422(message=str(ex))
                                  Severity: Major
                                  Found in superset/databases/api.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return self.response_403()
                                    Severity: Major
                                    Found in superset/reports/api.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return self.response(403, message=str(ex))
                                      Severity: Major
                                      Found in superset/explore/api.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return self.response_422(message=str(ex))
                                        Severity: Major
                                        Found in superset/tags/api.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language