diff --git a/src/serena/symbol.py b/src/serena/symbol.py index 6aa76fb..70b650a 100644 --- a/src/serena/symbol.py +++ b/src/serena/symbol.py @@ -498,7 +498,7 @@ class Symbol(AbstractSymbol, ToStringMixin): depth: int = 0, include_body: bool = False, include_children_body: bool = False, - include_relative_path=True, + include_relative_path: bool = True, ) -> dict[str, Any]: """ Converts the symbol to a dictionary. diff --git a/src/serena/util/exception.py b/src/serena/util/exception.py index 8ab2f00..f9cbb56 100644 --- a/src/serena/util/exception.py +++ b/src/serena/util/exception.py @@ -19,7 +19,7 @@ def is_headless_environment() -> bool: return False # Check for DISPLAY variable (required for X11) - if not os.environ.get("DISPLAY"): + if not os.environ.get("DISPLAY"): # type: ignore return True # Check for SSH session