Skip to content

Instantly share code, notes, and snippets.

@mshafae
Created August 8, 2022 18:47
Show Gist options
  • Select an option

  • Save mshafae/bc9cbf0ba202ef6d4b1bfb510ed4117a to your computer and use it in GitHub Desktop.

Select an option

Save mshafae/bc9cbf0ba202ef6d4b1bfb510ed4117a to your computer and use it in GitHub Desktop.
Working with GitHub Actions and different python environments for pylint.
init-hook='import os, sys; sys.path.append("/opt/actions-runner/env/lib/python3.8/site-packages") if os.path.exists("/opt/actions-runner/env/lib/python3.8/site-packages") else sys.path.append("env/lib/python3.8/site-packages")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment