StoryScriptorg/StoryScript

View on GitHub

Showing 99 of 110 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

                        return f"InvalidTypeException: Expected argument #1 to be Number, Found {type(argument).__name__}", Exceptions.InvalidTypeException
    Severity: Major
    Found in storyscript/lexer.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return f"\"{msg.strip()}\"", None
      Severity: Major
      Found in storyscript/lexer.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

                            return "InvalidSyntax: Unknown comparison operator.", Exceptions.InvalidSyntax
            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 "null", None
                Severity: Major
                Found in storyscript/lexer.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

                                    return res, error
                    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 mismatch_type, Exceptions.InvalidValue
                        Severity: Major
                        Found in storyscript/lexer.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return "InvalidOperatorException: You cannot use += with lambda expression, maybe you are looking for Event?", Exceptions.InvalidOperatorException
                          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 self.handle_imports(tc)
                              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 False
                                  Severity: Major
                                  Found in storyscript/langParser.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return Types.Tuple
                                    Severity: Major
                                    Found in storyscript/langParser.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 self.handle_array_setting_variable_methods(functioncall, function_name)
                                        Severity: Major
                                        Found in storyscript/lexer.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language