thenetcircle/dino

View on GitHub

Showing 809 of 809 total issues

Avoid too many return statements within this function.
Open

                return False, ErrorCodes.NOT_ALLOWED_TO_WHISPER_GENERIC_ERROR
Severity: Major
Found in dino/remote/handler.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return api_response(200)
    Severity: Major
    Found in dino/admin/routes.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return None
      Severity: Major
      Found in dino/utils/__init__.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return s
        Severity: Major
        Found in dino/environ.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return True, None
          Severity: Major
          Found in dino/validation/acl.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return False, ECodes.MISSING_OBJECT_URL, 'no channel id specified when sending message'
            Severity: Major
            Found in dino/validation/request.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                          return False, reason_code, 'not allowed to whisper this user'
              Severity: Major
              Found in dino/validation/request.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return True
                Severity: Major
                Found in dino/validation/request.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return False, ECodes.INVALID_ACL_ACTION, 'invalid api action "%s"' % acl.summary
                  Severity: Major
                  Found in dino/validation/request.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return True, None, None
                    Severity: Major
                    Found in dino/validation/request.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return None
                      Severity: Major
                      Found in dino/db/manager/rooms.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return 0
                        Severity: Major
                        Found in dino/environ.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return True, None
                          Severity: Major
                          Found in dino/validation/acl.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return False, ECodes.NOT_ALLOWED, error_msg
                            Severity: Major
                            Found in dino/validation/request.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return True, None, None
                              Severity: Major
                              Found in dino/validation/request.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return 0
                                Severity: Major
                                Found in dino/environ.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return True, None
                                  Severity: Major
                                  Found in dino/validation/acl.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                                return False, ECodes.NOT_ALLOWED_TO_WHISPER_CHANNEL, 'not allowed to whisper in channel'
                                    Severity: Major
                                    Found in dino/validation/request.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return False, ECodes.NO_SUCH_ROOM, 'target room %s does not exist' % room_id
                                      Severity: Major
                                      Found in dino/validation/request.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return False, ECodes.TOO_MANY_ATTACHMENTS, \
                                        Severity: Major
                                        Found in dino/validation/request.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language