File tree Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change 1- # Basic .gitattributes for a python repo.
1+ # THIS IS ONLY FOR THE gitattributes REPOSITORY.
2+ # Handle line endings automatically for files detected as text
3+ # and leave all files detected as binary untouched.
4+ * text =auto
5+
6+ # These files are text and should be normalized (Convert crlf => lf)
7+ * .gitattributes text
8+ .gitignore text
9+ * .md text diff =markdown
10+
11+ # Exclude files from exporting
12+ .gitattributes export-ignore
13+ .gitignore export-ignore
14+
15+ # Enable syntax highlighting for files with `.gitattributes` extensions.
16+ * .gitattributes linguist-language =gitattributes
17+ * .gitattributes linguist-detectable =true
18+ * .gitattributes linguist-documentation =false
219
320# Source files
421# ============
2340# Jupyter notebook
2441* .ipynb text eol =lf
2542
43+ # Note: .db, .p, and .pkl files are associated
44+ # with the python modules ``pickle``, ``dbm.*``,
45+ # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
46+ # (among others).
47+
2648# Apply override to all files in the directory
2749* .md linguist-detectable
2850
3355* .tf text eol =lf
3456* .tf.json text eol =lf
3557* .tfvars text eol =lf
36-
37- # Note: .db, .p, and .pkl files are associated
38- # with the python modules ``pickle``, ``dbm.*``,
39- # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
40- # (among others).
You can’t perform that action at this time.
0 commit comments