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 utf8 coding pragma from pre-commit and python files #252

Merged
merged 2 commits into from Jan 2, 2023

Conversation

bitplane
Copy link
Collaborator

@bitplane bitplane commented Jan 2, 2023

We don't need the pre-commit pragma in Python 3, and since Python 2 has been officially dead for 3 years we're a Python 3 codebase.

It looks like a big change because of the number of files impacted, but it's low risk and there shouldn't be any conflicts.

Python 2 is dead so dunno why --remove is not the default
Copy link
Collaborator

@yk yk left a comment

Choose a reason for hiding this comment

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

congrats, you just became our top-committer ;)

@yk yk merged commit 9ed5fbc into LAION-AI:main Jan 2, 2023
@bitplane bitplane deleted the remove-utf8-coding branch February 10, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants