rosedu/wouso

View on GitHub

Showing 551 of 2,707 total issues

Avoid too many return statements within this function.
Open

    return (None, False)
Severity: Major
Found in wouso/utils/add_users_force.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return (username, True)
    Severity: Major
    Found in wouso/utils/add_users_force_to_race.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return None
      Severity: Major
      Found in wouso/middleware/ldap_connection.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return {'success': True, 'coins': player.coins}
        Severity: Major
        Found in wouso/interface/api/handlers.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return (username, False)
          Severity: Major
          Found in wouso/utils/add_users_force_to_race.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return (username, False)
            Severity: Major
            Found in wouso/utils/add_users_force.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return (username, True)
              Severity: Major
              Found in wouso/utils/add_users_force.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return (username, False)
                Severity: Major
                Found in wouso/utils/add_users_force.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return "%s %s %s" % (self.type, self.user_from, self.spell)
                  Severity: Major
                  Found in wouso/core/magic/models.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return False, 'Player is cursed'
                    Severity: Major
                    Found in wouso/core/god/god.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return {'success': False, 'error': 'Cannot accept this challenge'}
                      Severity: Major
                      Found in wouso/games/challenge/api.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return {'success': True, 'result': result}
                        Severity: Major
                        Found in wouso/games/challenge/api.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return answer.strip().lower() in answers
                          Severity: Major
                          Found in wouso/games/quest/models.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return redirect('challenge_index_view')
                            Severity: Major
                            Found in wouso/games/challenge/views.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return redirect('challenge_index_view')
                              Severity: Major
                              Found in wouso/games/challenge/views.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                return {'success': False, 'error': 'Cannot refuse this challenge'}
                                Severity: Major
                                Found in wouso/games/challenge/api.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return redirect('challenge_index_view')
                                  Severity: Major
                                  Found in wouso/games/challenge/views.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return {'success': True}
                                    Severity: Major
                                    Found in wouso/games/challenge/api.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return {'success': True}
                                      Severity: Major
                                      Found in wouso/games/challenge/api.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return False
                                        Severity: Major
                                        Found in wouso/games/quest/models.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language