# 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).