-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hash-bangs to Python executables in src/etc #12129
Conversation
@@ -1,3 +1,5 @@ | |||
#!/usr/bin/env python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script is called via Makefile at: mk/tests.mk:264
Is it needed to add shebang-lines to files that are called by Makefiles? |
I did this change because on Gentoo one of these files is called directly and all of them are executable. So, I think : if my changes are not useful (because it can be a change only for Gentoo overlay), executable property must be remove. |
hi, I did call BTW, +1 to removing executable bits from those scripts. The x bit leads to confusion if the script can't call directly. |
Nice, overlay is already updated! Thanks @omasanori to make me aware of this. |
I think we should remove all the executable bits and make sure that the makefiles are always using |
Do these additional suggestions for how we should deal with python scripts mean we should not add the shebangs? |
Closing due to a lack of activity, but feel free to reopen with a rebase! |
Fix suggestion for `map_clone` lint on types implementing `Copy` Follow-up of rust-lang/rust-clippy#12104. It was missing this check to suggest the correct method. r? `@llogiq` changelog: Fix suggestion for `map_clone` lint on types implementing `Copy`
No description provided.