From e22ba6b5223a81e07c5ddc9e978b37383fb00d66 Mon Sep 17 00:00:00 2001 From: Minos Galanakis Date: Wed, 2 Jul 2025 14:24:33 +0100 Subject: [PATCH] Update .gitattributes This commit adds a list of files that should be excluded from tarballs when git-archive is used. Signed-off-by: Minos Galanakis --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitattributes b/.gitattributes index ceb59d7d0308..b7837f0b0f83 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,11 @@ # Classify all '.function' files as C for syntax highlighting purposes *.function linguist-language=C + +# Ignore listed files when creating an archive +.github/** export-ignore +.git* export-ignore +.pylintrc export-ignore +.mypy.ini. export-ignore +.globalrc export-ignore +.travis.yml export-ignore +.readthedocs.yaml export-ignore