diff --git a/.gitattributes b/.gitattributes
index f251a538bb57fcb5f828cfecfd4996356ec9d91d..e77c78fcb8778fde6db13b15e7dae2ad1761a764 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,3 @@
 *.smk gitlab-language=python
-*Snakefile gitlab-language=python
+/Snakefile gitlab-language=python