Skip to content

Commit

Permalink
scripts: fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 9, 2025
1 parent 355283a commit dbdc101
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/check_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
from pathlib import Path
from asyncio import run as run_async, create_subprocess_exec, gather
from shutil import which
from typing import Any
from collections.abc import Coroutine

EXCLUDES = ('__init__.py', 'default.py')


async def run_subproc(py_bin: str, file: Path):
async def run_subproc(py_bin: str, file: Path) -> tuple[int, Path]:
"""Run a module via the Python interpreter"""
proc = await create_subprocess_exec(py_bin, file.resolve(strict=True))
ret = await proc.wait()
Expand Down

0 comments on commit dbdc101

Please sign in to comment.