TabbycatDebate/tabbycat

View on GitHub

Showing 428 of 428 total issues

Avoid too many return statements within this function.
Open

            return self.error_page(_("It looks like the sides for this debate haven't yet been confirmed, "
Severity: Major
Found in tabbycat/results/views.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return GraphPowerPairedDrawGenerator
    Severity: Major
    Found in tabbycat/draw/generator/__init__.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return super().post(request, *args, **kwargs)
      Severity: Major
      Found in tabbycat/draw/views.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return obj.name
        Severity: Major
        Found in tabbycat/actionlog/models.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return "first_elimination"
          Severity: Major
          Found in tabbycat/draw/manager.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return "danger", "still-bad", 2
            Severity: Major
            Found in tabbycat/draw/tables.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return AustralsPowerPairedDrawGenerator
              Severity: Major
              Found in tabbycat/draw/generator/__init__.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return obj.reference
                Severity: Major
                Found in tabbycat/actionlog/models.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return obj.adjudicator.name
                  Severity: Major
                  Found in tabbycat/actionlog/models.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return SwapRandomWithAllocatedSidesDrawGenerator
                    Severity: Major
                    Found in tabbycat/draw/generator/__init__.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return None if omit_tournament else obj.name
                      Severity: Major
                      Found in tabbycat/actionlog/models.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return AustralsPowerPairedWithAllocatedSidesDrawGenerator
                        Severity: Major
                        Found in tabbycat/draw/generator/__init__.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return super().post(request, *args, **kwargs)
                          Severity: Major
                          Found in tabbycat/checkins/views.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return "<error displaying %s>" % model_name
                            Severity: Major
                            Found in tabbycat/actionlog/models.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return GraphPowerPairedWithAllocatedSidesDrawGenerator
                              Severity: Major
                              Found in tabbycat/draw/generator/__init__.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                    return obj.debate.matchup
                                Severity: Major
                                Found in tabbycat/actionlog/models.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                  return SwapRandomDrawGenerator
                                  Severity: Major
                                  Found in tabbycat/draw/generator/__init__.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return obj.adjudicator.name + " (" + str(obj.score) + ")"
                                    Severity: Major
                                    Found in tabbycat/actionlog/models.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return gettext("result unknown")
                                      Severity: Major
                                      Found in tabbycat/draw/models.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return self.error_page(_("Your debate doesn't have a chair, so you can't enter results for it. "
                                        Severity: Major
                                        Found in tabbycat/results/views.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language