mlco2 / codecarbon

Track emissions from Compute and recommend ways to reduce their impact on the environment.
https://mlco2.github.io/codecarbon
MIT License
1.11k stars 173 forks source link

Do not count *.ipynb example files in the git stats #485

Closed inimaz closed 9 months ago

inimaz commented 9 months ago

The issue

This is a purely cosmetic change.

Jupyter notebook appears as the primary language of CodeCarbon image

This is misleading, since someone new arriving to the project, might think that this is mainly jupyter scripts.

The solution

I added this .gitattributes file to not count the *.ipynb files in the git stats.

Source: https://proandroiddev.com/removing-noise-from-your-github-language-stats-e96113f8183d