-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
33 lines (29 loc) · 946 Bytes
/
.gitattributes
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
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Basic .gitattributes for a python repo.
# Source files
# ============
*.pxd text
*.py text
*.py3 text
*.pyw text
*.pyx text
# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pyc binary
*.pyd binary
*.pyo binary
# Whitespace
# ==========
*.pxd whitespace=space-before-tab,tab-in-indent,trailing-space,tab
*.py whitespace=space-before-tab,tab-in-indent,trailing-space,tab
*.py3 whitespace=space-before-tab,tab-in-indent,trailing-space,tab
*.pyw whitespace=space-before-tab,tab-in-indent,trailing-space,tab
*.pyx whitespace=space-before-tab,tab-in-indent,trailing-space,tab
# Note: .db, .p, and .pkl files are associated
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).