-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Expand file tree
/
Copy path.gitattributes
More file actions
27 lines (22 loc) · 682 Bytes
/
.gitattributes
File metadata and controls
27 lines (22 loc) · 682 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
# Set the default behavior, which is to have git automatically determine
# whether a file is a text or binary, unless otherwise specified.
* text=auto
# 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
# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pyc binary
*.pyd binary
*.pyo binary
# Note: .db, .p, and .pkl files are associated with the python modules
# ``pickle``, ``dbm.*``, # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).