My FastAPI Python project is classified as Jupyter Notebook #6618
Replies: 2 comments 3 replies
-
This is the reason you're seeing this behaviour is explained in the How Linguist works doc:
Your Jupyter file is going to be much larger in bytes of code than all your Python files combined. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Aha, that solves it, thank you so much!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my private repository (https://github.com/goplayfully/gameserver) the bulk of the activity (400 commits) are on the FastAPI Python files, but for some reason the repository is detected as Jupyter Notebook. Even more surprising, when I click on "Jupyter" -- which is listed as 79% -- I get only one single file, whereas "Python" (19%) has 70 files. Jupyter defaults to the extension
.ipynb
whereas Python has to be the more common use of.py
right?I wonder if this has to do with 19 pull requests being identified as Jupyter?
I haven't tried overriding with
.gitattributes
because your troubleshooter led me here first. It's not a major issue but I'm super curious why it's wrong and how to correct it.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions