diff --git a/Python.gitattributes b/Python.gitattributes new file mode 100644 index 0000000..23320e5 --- /dev/null +++ b/Python.gitattributes @@ -0,0 +1,23 @@ +# Basic .gitattributes for a python repo. + +# Source files +# ============ +*.pxd text +*.py text +*.py3 text +*.pyw text +*.pyx text + +# 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). \ No newline at end of file