Skip to content
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

Adjust shebangs and executable permissions #9

Closed
wants to merge 2 commits into from

Conversation

musicinmybrain
Copy link

Set executable permissions on script-like Python files.

These are the files that have an “if __name__ == __main__:” or otherwise appear intended to execute directly as scripts.

For other Python files that are only intended to be imported, remove the shebang lines (#!) since they are not useful.

These are the files that have an “if __name__ == __main__:” or otherwise
appear intended to execute directly as scripts.
The shebang line (#!) does nothing useful for Python sources that do not
have the executable bit set.
@thieu1995 thieu1995 closed this Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants