-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
64 lines (57 loc) · 1.9 KB
/
Copy path.gitattributes
File metadata and controls
64 lines (57 loc) · 1.9 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Git attributes — https://git-scm.com/docs/gitattributes
# Pairs with .gitignore. Universal across long-lived repos for:
# * LF-only normalisation on shell scripts (avoids CRLF corruption
# when a contributor on Windows edits install.sh via VSCode).
# * export-ignore for files that don't belong in the sdist (cuts
# `pip install da-cli` artifact size + prevents tests/examples from
# landing in site-packages).
# * linguist attributes so GitHub classifies the repo correctly.
# Default: normalise text files to LF on commit, checkout as-is.
* text=auto eol=lf
# Force LF on shell scripts (CRLF breaks bash).
*.sh text eol=lf
*.bash text eol=lf
dacli.py text eol=lf
da text eol=lf
Makefile text eol=lf
# Force CRLF on Windows-only files (none currently, but the rule documents
# the convention if a .ps1 / .bat is ever added).
*.ps1 text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# Binary files — never normalise.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.icns binary
*.pdf binary
*.zip binary
*.tar binary
*.gz binary
*.db binary
# Markdown / docs are text but allow trailing-whitespace checks via editorconfig.
*.md text eol=lf
# Export-ignore: keep the sdist (pip install) lean. Tests, examples, dev
# configs, and CI workflows don't belong in site-packages.
.gitattributes export-ignore
.gitignore export-ignore
.git-blame-ignore-revs export-ignore
.editorconfig export-ignore
Makefile export-ignore
renovate.json5 export-ignore
tests/ export-ignore
examples/ export-ignore
tools/ export-ignore
docs/ export-ignore
.github/ export-ignore
ARCHITECTURE.md export-ignore
CODE_OF_CONDUCT.md export-ignore
CONTRIBUTING.md export-ignore
# Linguist overrides (GitHub language stats).
# *.md is documentation, not "the project's primary language" — don't let
# docs/SECURITY.md skew the language pie chart.
docs/*.md linguist-documentation
*.md linguist-documentation