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

Remove shebang line from hash.py #498 #544

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

ckilcoin
Copy link

Fixes: #498

Remove shebang line from hash.py

Python2 support has been dropped and we do not need to run the module by itself.

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

Python2 support has been dropped and we do not need to run the
module by itself.
Copy link
Member

@adityasaky adityasaky left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @ckilcoin! Do you want to pick up the bonus task of assessing other shebang occurrences in the package as well?

https://github.com/search?q=repo%3Asecure-systems-lab%2Fsecuresystemslib+%23%21%2Fusr%2Fbin%2Fenv&type=code&p=1

@mnm678 mnm678 merged commit 5c4f934 into secure-systems-lab:main Mar 21, 2023
@ckilcoin
Copy link
Author

Sure, I'll remove what I can and submit a second PR.

ckilcoin pushed a commit to ckilcoin/securesystemslib that referenced this pull request Mar 21, 2023
Followup from work in secure-systems-lab#544 and secure-systems-lab#498
Other instances are in diff files, actual generated python code,
or unrelated to python shebang instances
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.

remove python2 shebang in hash module
3 participants