From cffbb92ea91c7854eacd25042ef7b34c4f953833 Mon Sep 17 00:00:00 2001 From: JustinOros Date: Mon, 21 Jul 2025 10:20:46 -0700 Subject: [PATCH] Fix GitHub incorrectly identifying Python files as HTML. --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..0032ad9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +# Force GitHub to detect the project as Python +*.py linguist-language=Python + +# Treat HTML files as generated (if any exist) +*.html linguist-generated=true + +# Ignore README, image, and license files from language stats +README.md linguist-documentation +*.png linguist-generated=true +*.jpg linguist-generated=true +LICENSE linguist-documentation