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

feat: Support more types of Python files

This commit is contained in:
Richie Bendall 2019-07-17 15:18:38 +12:00 committed by GitHub
parent abb2095fa5
commit 5ae94608ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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