github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.37k stars 4.29k forks source link

My small Python repository is detected as Groff language #2352

Closed clsacramento closed 9 years ago

clsacramento commented 9 years ago

-On the language bar I get: Groff 99.5%

-But when I click:

We couldn't find any code matching ''

You could try an advanced search.

-And on the left bar:

Languages

9 Python 1 Text 1 Markdown

-repository link: https://github.com/clsacramento/LeBonCoinAlert

arfon commented 9 years ago

Running Linguist on your repository locally it looks like these files are being detected as Groff:

web_monitor/data/apscheduler/executors.default.log.1
web_monitor/data/apscheduler/scheduler.log.1
web_monitor/data/web_monitor/main.log.1

You might want to ignore these with something like this in your .gitattributes file:

web_monitor/data/* linguist-vendored=true
clsacramento commented 9 years ago

Super! This works perfectly. Thanks a lot!

arfon commented 9 years ago

:+1: great!