--- a
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.py    diff=python