You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you think about adding name == main checks vs the shebang line, under a couple of new EXEnnn IDs?
Found name == main but no shebang
Found shebang but no name == main
I frequently forget both the executable bit and the shebang when writing new command line scripts, so this would help. This also encourages better modularity and easier to package the script later as a setuptools entry_point. And finally. ensuring shebang lines aren’t added when they shouldn’t be.
If you agree, I can work on a PR.
The text was updated successfully, but these errors were encountered:
@pkolbus Sorry for the delayed response -- I missed the notification somehow. Yes, I think this would be helpful. Feel free to contribute a PR! Also, feel free to ping me if you don't see me responding.
Thanks for the response. I'd actually forgotten about this issue and wrote a shell script for the executability checks, but will take another look at this plugin soon & either write the PR or close.
Thanks for the great plugin.
What do you think about adding name == main checks vs the shebang line, under a couple of new EXEnnn IDs?
I frequently forget both the executable bit and the shebang when writing new command line scripts, so this would help. This also encourages better modularity and easier to package the script later as a setuptools entry_point. And finally. ensuring shebang lines aren’t added when they shouldn’t be.
If you agree, I can work on a PR.
The text was updated successfully, but these errors were encountered: