diff --git a/Python.gitattributes b/Python.gitattributes index 3aae817..e4b39ac 100644 --- a/Python.gitattributes +++ b/Python.gitattributes @@ -5,9 +5,12 @@ *.pxd text diff=python *.py text diff=python *.py3 text diff=python +*.pyc text diff=python +*.pyd text diff=python +*.pyo text diff=python *.pyw text diff=python -*.ipynb text *.pyx text diff=python +*.pyz text diff=python # Binary files # ============ @@ -19,6 +22,9 @@ *.pyd binary *.pyo binary +# Jupyter notebook +*.ipynb text + # Note: .db, .p, and .pkl files are associated # with the python modules ``pickle``, ``dbm.*``, # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``