Skip to content

Commit

Permalink
check_imports: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 9, 2025
1 parent c6d83bd commit 3948048
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/check_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

async def run_subproc(py_bin: str, file: Path) -> None:
"""Run a module via the Python interpreter"""
# Ensure this module is in PYTHONPATH
path = await file.resolve(strict=True)
proc = await open_process(
[py_bin, str(path), PROTON_VERB],
Expand All @@ -28,7 +27,7 @@ async def run_subproc(py_bin: str, file: Path) -> None:
print(f"File '{file.parent / file.name}' has valid imports")


async def main() -> None: # noqa: D103
async def main() -> None:
"""Validate import statements for files in gamefixes-*. by running them."""
py_bin = which('python')

Expand Down

0 comments on commit 3948048

Please sign in to comment.