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

Add py and pypy interpreters for Python #6181

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

lordmauve
Copy link
Contributor

Add py, pypy and pypy3 interpreters for Python.

Description

This PR adds a few common interpreters that are missing for Python:

The intention of this change is to enable Python syntax highlighting in scripts with shebangs such as

#!/opt/local/bin/py -3.11

or

#!/usr/bin/pypy3

Checklist:

  • I am fixing a misclassified language
    • I have included a new sample for the misclassified language:
      • Sample source(s): I have examples in a GitHub Enterprise account that I cannot share
      • Sample license(s): Proprietary
    • I have included a change to the heuristics to distinguish my language from others using the same extension.

@lordmauve lordmauve requested a review from a team as a code owner November 22, 2022 11:06
@Alhadis Alhadis changed the title Add py and pypy interpreters for Python Add py and pypy interpreters for Python Nov 23, 2022
Copy link
Member

@lildude lildude 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.

Note: this PR will not be merged until close to when the next release is made. See here for more details.

@lildude lildude merged commit 5f1d854 into github-linguist:master Feb 17, 2023
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants