I am working on a shared Python environment with python3.6 as executable and I want the shebang to point to the correct executable #!/usr/bin/env python3.6. However, even though I specify
default_language_version:
python: python3.6
or language_version: python3.6 in hooks, it always picks #!/usr/bin/env python as the shebang even though there is no python executable. Is there a way to specify a custom shebang?
I am working on a shared Python environment with
python3.6as executable and I want the shebang to point to the correct executable#!/usr/bin/env python3.6. However, even though I specifyor
language_version: python3.6inhooks, it always picks#!/usr/bin/env pythonas the shebang even though there is nopythonexecutable. Is there a way to specify a custom shebang?