Skip to content
Snippets Groups Projects
Commit 34397c6e authored by Pierre Chanial's avatar Pierre Chanial
Browse files

Add .gitattributes file for Python.

parent cb16dee7
No related branches found
No related tags found
No related merge requests found
# Basic .gitattributes for a python repo.
# Source files
# ============
*.pxd text diff=python
*.py text diff=python
*.py3 text diff=python
*.pyw text diff=python
*.pyx text diff=python
*.pyz text diff=python
*.pyi text diff=python
# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pickle binary
*.pyc binary export-ignore
*.pyo binary export-ignore
*.pyd binary
# Jupyter notebook
*.ipynb text
# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment