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

PR: Remove useless shebang lines #76

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

musicinmybrain
Copy link
Contributor

Since these files do not have the executable bit set in their file permissions, the shebang line (#!) does nothing.

For qtsass/cli.py, the file is not even script-like (the “main routine” is only defined, not called, on import).

For the other three, setting the executable bit could be an alternative, if people wanted to run e.g. “./run_checks_and_format.py” instead of “python3 run_checks_and_format.py”.

Since these files do not have the executable bit set in their file
permissions, the shebang line (#!) does nothing.

For qtsass/cli.py, the file is not even script-like (the “main routine”
is only defined, not called, on import).

For the other three, setting the executable bit *could* be an
alternative, if people wanted to run e.g. “./run_checks_and_format.py”
instead of “python3 run_checks_and_format.py”.
@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (afcd1cf) 92.20% compared to head (4a89c85) 92.20%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   92.20%   92.20%           
=======================================
  Files          12       12           
  Lines         577      577           
=======================================
  Hits          532      532           
  Misses         45       45           
Files Changed Coverage Δ
qtsass/__main__.py 100.00% <ø> (ø)
qtsass/cli.py 77.96% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ccordoba12 ccordoba12 added this to the v0.4.1 milestone Sep 10, 2023
@dalthviz dalthviz changed the title Remove useless shebang lines PR: Remove useless shebang lines Sep 11, 2023
Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @musicinmybrain ! This LGTM 👍

@dalthviz dalthviz merged commit ba36f61 into spyder-ide:master Sep 11, 2023
13 checks passed
@musicinmybrain
Copy link
Contributor Author

Thanks for the quick review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants