mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-19 12:16:35 +00:00
Fix mypy issues
This commit is contained in:
1 parent
a78fe030e8
commit
813ab630b4
2 files changed
+2
-2
No files matched your search
@@ -435,7 +435,7 @@ class Symbol(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