rosedu/wouso

View on GitHub

Showing 551 of 2,707 total issues

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 (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_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 (None, 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 specialquest_button
              Severity: Major
              Found in wouso/games/specialquest/models.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return (None, 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 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 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 False
                      Severity: Major
                      Found in wouso/games/quest/models.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return False, 'Player already has this spell cast on him'
                        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 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 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 cancel 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 render_to_response('workshop/play.html',
                                Severity: Major
                                Found in wouso/games/workshop/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 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 False, 'Something wrong'
                                      Severity: Major
                                      Found in wouso/core/god/god.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return False, None, None
                                        Severity: Major
                                        Found in wouso/core/security/sec.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language