mirror of
https://github.com/tiennm99/serena.git
synced 2026-09-02 22:18:00 +00:00
Merge branch 'main' into jetbrains
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user