.gitattributes 549 B

123456789101112131415161718192021222324252627282930313233
  1. # Basic .gitattributes for a python repo.
  2. # Source files
  3. # ============
  4. *.pxd text
  5. *.py text
  6. *.py3 text
  7. *.pyw text
  8. *.pyx text
  9. *.html text
  10. *.xml text
  11. *.xhtml text
  12. *.htm text
  13. *.css text
  14. *.txt text
  15. *.bat text eol=crlf
  16. # Binary files
  17. # ============
  18. *.db binary
  19. *.p binary
  20. *.pkl binary
  21. *.pyc binary
  22. *.pyd binary
  23. *.pyo binary
  24. # Note: .db, .p, and .pkl files are associated
  25. # with the python modules ``pickle``, ``dbm.*``,
  26. # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
  27. # (among others).