Vyper code identified as Python #6477
-
the language stats for https://github.com/c-protocol/crayon-governance show 100% Python instead of 100% Vyper. Clicking on the stats correctly returns 0 files written in Python. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Looking at the .gitattributes file, there is an override that forces the extension
If this line is removed, the repo will appear as 100% Vyper in the stats bar. Also note that when you click on the stats bar, you end up on the search page which doesn't take gitattributes into account. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, Martin. That solved it.
Best regards.
Sent with [Proton Mail](https://proton.me/) secure email.
…------- Original Message -------
On Thursday, July 13th, 2023 at 12:18 AM, Martin Leduc ***@***.***> wrote:
Looking at the [.gitattributes file](https://github.com/c-protocol/crayon-governance/blob/main/.gitattributes), there is an override that forces the extension .vy to count as Python:
*.vy linguist-language=Python
If this line is removed, the repo will appear as 100% Vyper in the stats bar. Also note that the when you click on the stats bar, you end up on the search page which doesn't take gitattributes into account.
—
Reply to this email directly, [view it on GitHub](#6475 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A63LI6VDQWPEBEKJVWB27CTXP5ZKFANCNFSM6AAAAAA2H4LSCI).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Looking at the .gitattributes file, there is an override that forces the extension
.vy
to count as Python:If this line is removed, the repo will appear as 100% Vyper in the stats bar. Also note that when you click on the stats bar, you end up on the search page which doesn't take gitattributes into account.