-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
35 lines (29 loc) · 769 Bytes
/
.gitattributes
File metadata and controls
35 lines (29 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Basic .gitattributes for a python repo.
# Taken from https://github.com/alexkaratarakis/gitattributes
# 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=pythoncoun
# *.pyi text diff=python
# Binary files
# ============
# *.db binary
# *.p binary
# *.pkl binary
# *.pickle binary
# *.pyc binary
# *.pyd binary
# *.pyo binary
# Jupyter notebook
# For text count
*.ipynb text
# To ignore it use below
# *.ipynb linguist-documentation
# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).