0

So, I have a project that is around 80% Java and 20% Python. It is both by the number of lines of code and by their actual value. However, this is the language breakdown that GitHub detects: Language Breakdown

I assumed that it might have to do with that my structure of the repository is the following:

Main Folder
|--\Menu (contains a couple of .py files)
|--\CoreFiles (contains a .txt and .csv, both very short)
   |--\src (contains several .java files and .idea)
   |--\out (contains some other cascaded folders and .java files inside)

I tried adding a .gitattributes file and putting this code in there:

*.java linguist-language=Java
*.py linguist-language=Python

Nothing changed. I am clueless. My last idea feels kinda dull, but I don't know what else is the problem: perhaps, the fact that .java files are somewhat deeper down the folder structure causes this?

Has anyone had this problem? How did you solve it?

Thank you in advance!

torek
  • 448,244
  • 59
  • 642
  • 775

0 Answers0