Skip to content

Commit 2b7377d

Browse files
[skip travis] Better gitattributes
1 parent f7c9411 commit 2b7377d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.gitattributes

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
1+
# Basic .gitattributes for a python repo.
2+
3+
# Source files
4+
# ============
5+
*.pxd text diff=python
6+
*.py text diff=python
7+
*.py3 text diff=python
8+
*.pyw text diff=python
9+
*.pyx text diff=python
10+
*.pyz text diff=python
11+
12+
# Binary files
13+
# ============
14+
*.db binary
15+
*.p binary
16+
*.pkl binary
17+
*.pickle binary
18+
*.pyc binary
19+
*.pyd binary
20+
*.pyo binary
21+
122
# Jupyter notebook
223
*.ipynb text
24+
25+
# Note: .db, .p, and .pkl files are associated
26+
# with the python modules ``pickle``, ``dbm.*``,
27+
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
28+
# (among others).

0 commit comments

Comments
 (0)