1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00
gitattributes/Python.gitattributes

26 lines
526 B
Plaintext
Raw Normal View History

2015-01-12 01:21:47 -05:00
# Basic .gitattributes for a python repo.
# Source files
# ============
2019-04-21 05:39:50 -04:00
*.pxd text diff=python
*.py text diff=python
*.py3 text diff=python
*.pyw text diff=python
2019-04-27 01:05:41 -04:00
*.ipynb text
2019-04-21 05:39:50 -04:00
*.pyx text diff=python
2015-01-12 01:21:47 -05:00
# Binary files
# ============
2019-04-21 05:39:50 -04:00
*.db binary
*.p binary
*.pkl binary
*.pickle binary
*.pyc binary
*.pyd binary
*.pyo binary
2015-01-12 01:21:47 -05:00
# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
2018-06-20 05:54:30 -04:00
# (among others).