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 gitattributes for GitHub Linguist #263

Merged
merged 1 commit into from
Feb 25, 2018
Merged

Add gitattributes for GitHub Linguist #263

merged 1 commit into from
Feb 25, 2018

Conversation

jwilk
Copy link
Contributor

@jwilk jwilk commented Feb 25, 2018

GitHub Linguist would classify the test HTML files as code, concluding that the whole project is written mostly in HTML:

  1. HTML 73.1%
  2. Python 26.9%

This PR makes GitHub Linguist ignore the test HTML files, which makes the statistics way more helpful:

  1. Python 90.2%
  2. HTML 9.8%

GitHub Linguist would classify the test HTML files as code, concluding
that the whole project is written mostly in HTML.

This makes GitHub Linguist ignore the test HTML files.
@joeyespo
Copy link
Owner

Oh wow! I had no idea this was possible.

Thanks for finally getting this categorized correctly 😄

@joeyespo joeyespo merged commit be5ea3e into joeyespo:master Feb 25, 2018
@jwilk jwilk deleted the linguist branch February 25, 2018 19:42
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.

2 participants