StoryScriptorg/StoryScript

View on GitHub

Showing 99 of 110 total issues

Avoid too many return statements within this function.
Open

                    return "true", None
Severity: Major
Found in storyscript/lexer.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return Exceptions.InvalidSyntax
    Severity: Major
    Found in storyscript/langParser.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return False, None
      Severity: Major
      Found in storyscript/langParser.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return None, None
        Severity: Major
        Found in storyscript/lexer.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return self.handle_new_keyword(tc, original_text)
          Severity: Major
          Found in storyscript/lexer.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return value, error
            Severity: Major
            Found in storyscript/lexer.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return self.handle_base_keywords(tc, original_text)
              Severity: Major
              Found in storyscript/lexer.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return Types.Any
                Severity: Major
                Found in storyscript/langParser.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return (
                  Severity: Major
                  Found in storyscript/langParser.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                                return (
                    Severity: Major
                    Found in storyscript/lexer.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return None, None
                      Severity: Major
                      Found in storyscript/lexer.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return f"EXITREQUEST {value}", None
                        Severity: Major
                        Found in storyscript/lexer.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return True, None
                          Severity: Major
                          Found in storyscript/langParser.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return f"InvalidOperatorException: You cannot use {operator}= with lambda expression.", Exceptions.InvalidOperatorException
                            Severity: Major
                            Found in storyscript/lexer.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return "InvalidSyntax: Invalid value", Exceptions.InvalidSyntax
                              Severity: Major
                              Found in storyscript/lexer.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return (
                                Severity: Major
                                Found in storyscript/lexer.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                  return result, None
                                  Severity: Major
                                  Found in storyscript/lexer.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return f'"{res.value}"', None
                                    Severity: Major
                                    Found in storyscript/lexer.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                          return res, None
                                      Severity: Major
                                      Found in storyscript/lexer.py - About 30 mins to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language