joeyespo / grip

Preview GitHub README.md files locally before committing them.
MIT License
6.48k stars 424 forks source link

Add gitattributes for GitHub Linguist #263

Closed jwilk closed 6 years ago

jwilk commented 6 years ago

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%
joeyespo commented 6 years ago

Oh wow! I had no idea this was possible.

Thanks for finally getting this categorized correctly 😄