Skip to content

Update .gitattributes for GitHub language recognizition as Python #550

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

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

martinvonk
Copy link
Contributor

I saw that a lot of strange languages were detected by GitHub linguist because of the extensions of certain data files. This removes the languages that aren't on the repository such that python is the main language. This makes pyemu more easily findable on GitHub.

Current languages found:
image

With new .gitattributes file:

64.77%  Python
35.23%  Jupyter Notebook

@mnfienen mnfienen merged commit a488af1 into pypest:develop Nov 14, 2024
13 checks passed
@coveralls
Copy link

Coverage Status

coverage: 79.625% (+0.2%) from 79.433%
when pulling 214fa58 on martinvonk:linguist
into 459eda8 on pypest:develop.

@mnfienen
Copy link
Collaborator

thanks @martinvonk - nice addition :)

@martinvonk
Copy link
Contributor Author

Weirdly enough, there are still two other languages recognized.
image
I ran github-linguist locally and there these two languages aren't picked up.

I don't know if you have power over the develop branch @mnfienen. But if you have, maybe you can add these two lines:

*.arr linguist-vendored # ignore because recognized as Pyret
*.mps linguist-vendored # ignore because recognized as JetBrains MPS

Otherwise, I can make a new pr.

@martinvonk
Copy link
Contributor Author

Comment above fixed in #551

@martinvonk martinvonk deleted the linguist branch January 8, 2025 09:15
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.

3 participants