Skip to content

Commit

Permalink
scripts: add protonfixes to PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 9, 2025
1 parent adab186 commit 8e716e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/check_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ async def main() -> None: # noqa: D103
)
py_bin = which('python')

# Ensure this module is in PYTHONPATH
sys.path.insert(0, str(project.parent))

if not py_bin:
sys.exit(1)

Expand Down

0 comments on commit 8e716e2

Please sign in to comment.