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

Specify language_version in .pre-commit-hooks.yaml #670

Merged
merged 1 commit into from Dec 15, 2020
Merged

Specify language_version in .pre-commit-hooks.yaml #670

merged 1 commit into from Dec 15, 2020

Conversation

jdufresne
Copy link
Contributor

Since b78c938, the project no longer
supports Python 2.

pre-commit will use the system Python by default. On some systems, this
could be Python 2. To avoid Python 2 usage, specify pre-commit always
uses Python 3.

Without this configuration, some projects have been forced to manually
override this option.

pre-commit docs:
https://pre-commit.com/#overriding-language-version

Since b78c938, the project no longer
supports Python 2.

pre-commit will use the system Python by default. On some systems, this
could be Python 2. To avoid Python 2 usage, specify pre-commit always
uses Python 3.

Without this configuration, some projects have been forced to manually
override this option.

pre-commit docs:
https://pre-commit.com/#overriding-language-version
Copy link
Member

@ericwb ericwb left a comment

Choose a reason for hiding this comment

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

LGTM. Nice fix.

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