Skip to content

Commit

Permalink
♻️ Refactor misc/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Dec 2, 2023
1 parent a8eba38 commit 93b5b06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/termux_language_server/misc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"""
from typing import Any

from .. import FILETYPE

def get_schema(filetype: str) -> dict[str, Any]:

def get_schema(filetype: FILETYPE) -> dict[str, Any]:
r"""Get schema.
:param filetype:
:type filetype: str
:type filetype: FILETYPE
:rtype: dict[str, Any]
"""
if filetype in {"build.sh", "subpackage.sh"}:
Expand Down

0 comments on commit 93b5b06

Please sign in to comment.