leandrotoledo/python-telegram-bot

View on GitHub

Showing 334 of 334 total issues

Avoid too many return statements within this function.
Open

                return True
Severity: Major
Found in telegram/ext/filters.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return value.to_dict(), []
    Severity: Major
    Found in telegram/request/_requestparameter.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return True
      Severity: Major
      Found in telegram/ext/_handlers/chatboosthandler.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return True
        Severity: Major
        Found in telegram/ext/_handlers/messagereactionhandler.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return False
          Severity: Major
          Found in telegram/ext/filters.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return data, [value.sticker]
            Severity: Major
            Found in telegram/request/_requestparameter.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return False
              Severity: Major
              Found in telegram/ext/_handlers/chatmemberhandler.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return value, []
                Severity: Major
                Found in telegram/request/_requestparameter.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return (
                  Severity: Major
                  Found in telegram/ext/_handlers/messagereactionhandler.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return None
                    Severity: Major
                    Found in telegram/ext/_handlers/callbackqueryhandler.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return None
                      Severity: Major
                      Found in telegram/ext/_handlers/commandhandler.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return data, [value.media, thumbnail]
                        Severity: Major
                        Found in telegram/request/_requestparameter.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return bool(self._chat_ids and (chat_id in self._chat_ids)) or bool(
                          Severity: Major
                          Found in telegram/ext/_handlers/chatboosthandler.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                            return True
                            Severity: Major
                            Found in telegram/ext/_handlers/callbackqueryhandler.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return data, [value.media]
                              Severity: Major
                              Found in telegram/request/_requestparameter.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                    return match
                                Severity: Major
                                Found in telegram/ext/_handlers/callbackqueryhandler.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                      return comp_output
                                  Severity: Major
                                  Found in telegram/ext/filters.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return title, target
                                    Severity: Major
                                    Found in docs/auxil/tg_const_role.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return repr(value), target
                                      Severity: Major
                                      Found in docs/auxil/tg_const_role.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return title, target
                                        Severity: Major
                                        Found in docs/auxil/tg_const_role.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language