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
2
19
3
20
# Source files
4
21
# ============
23
40
# Jupyter notebook
24
41
* .ipynb text eol =lf
25
42
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
+
26
48
# Apply override to all files in the directory
27
49
* .md linguist-detectable
28
50
33
55
* .tf text eol =lf
34
56
* .tf.json text eol =lf
35
57
* .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