Skip to content

Commit

Permalink
scripts: extend PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 9, 2025
1 parent 8e716e2 commit 8b997e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def main() -> None: # noqa: D103
py_bin = which('python')

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

if not py_bin:
sys.exit(1)
Expand Down

0 comments on commit 8b997e9

Please sign in to comment.