aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes32
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..6a3e828
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,32 @@
+# Basic .gitattributes for a python repo.
+
+# Source files
+# ============
+*.pxd text
+*.py text
+*.py3 text
+*.pyw text
+*.pyx text
+
+*.html text
+*.xml text
+*.xhtml text
+*.htm text
+*.css text
+*.txt text
+
+*.bat text eol=crlf
+
+# Binary files
+# ============
+*.db binary
+*.p binary
+*.pkl binary
+*.pyc binary
+*.pyd binary
+*.pyo binary
+
+# Note: .db, .p, and .pkl files are associated
+# with the python modules ``pickle``, ``dbm.*``,
+# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
+# (among others).