mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Disallow versionless Python shebangs (#58275)
Summary: Some machines don't have a versionless `python` on their PATH, which breaks these existing shebangs. I'm assuming that all the existing versionless `python` shebangs are meant to be `python3` and not `python2`; please let me know if my assumption was incorrect for any of these. Pull Request resolved: https://github.com/pytorch/pytorch/pull/58275 Test Plan: CI. Reviewed By: zhouzhuojie Differential Revision: D28428143 Pulled By: samestep fbshipit-source-id: 6562be3d12924db72a92a0207b060ef740f61ebf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e6adc06221
commit
2e26976ad3
1
Makefile
1
Makefile
@ -66,6 +66,7 @@ quick_checks:
|
||||
--step 'Ensure no tabs' \
|
||||
--step 'Ensure no non-breaking spaces' \
|
||||
--step 'Ensure canonical include' \
|
||||
--step 'Ensure no versionless Python shebangs' \
|
||||
--step 'Ensure no unqualified noqa' \
|
||||
--step 'Ensure no unqualified type ignore' \
|
||||
--step 'Ensure no direct cub include' \
|
||||
|
Reference in New Issue
Block a user