]> git.ipfire.org Git - thirdparty/Python/cpython.git/blob - .gitattributes
Move binomialvariate() to a section for discrete distributions (GH-102955)
[thirdparty/Python/cpython.git] / .gitattributes
1 # Binary data types
2 *.aif binary
3 *.aifc binary
4 *.aiff binary
5 *.au binary
6 *.bmp binary
7 *.exe binary
8 *.icns binary
9 *.gif binary
10 *.ico binary
11 *.jpg binary
12 *.pck binary
13 *.png binary
14 *.psd binary
15 *.tar binary
16 *.wav binary
17 *.whl binary
18 *.zip binary
19
20 # Specific binary files
21 Lib/test/sndhdrdata/sndhdr.* binary
22 PC/classicAppCompat.* binary
23
24 # Text files that should not be subject to eol conversion
25 [attr]noeol -text
26
27 Lib/test/cjkencodings/* noeol
28 Lib/test/coding20731.py noeol
29 Lib/test/decimaltestdata/*.decTest noeol
30 Lib/test/test_email/data/*.txt noeol
31 Lib/test/test_importlib/resources/data01/* noeol
32 Lib/test/test_importlib/resources/namespacedata01/* noeol
33 Lib/test/xmltestdata/* noeol
34
35 # CRLF files
36 [attr]dos text eol=crlf
37
38 *.bat dos
39 *.proj dos
40 *.props dos
41 *.ps1 dos
42 *.sln dos
43 *.vcxproj* dos
44 PC/readme.txt dos
45 PCbuild/readme.txt dos
46
47 # Language aware diff headers
48 # https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more
49 # https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
50 *.c diff=cpp
51 *.h diff=cpp
52 *.css diff=css
53 *.html diff=html
54 *.py diff=python
55 *.md diff=markdown
56
57 # Generated files
58 # https://github.com/github/linguist/blob/master/docs/overrides.md
59 #
60 # To always hide generated files in local diffs, mark them as binary:
61 # $ git config diff.generated.binary true
62 #
63 [attr]generated linguist-generated=true diff=generated
64
65 **/clinic/*.c.h generated
66 *_db.h generated
67 Doc/data/stable_abi.dat generated
68 Doc/library/token-list.inc generated
69 Include/internal/pycore_ast.h generated
70 Include/internal/pycore_ast_state.h generated
71 Include/internal/pycore_opcode.h generated
72 Include/internal/pycore_*_generated.h generated
73 Include/opcode.h generated
74 Include/token.h generated
75 Lib/keyword.py generated
76 Lib/test/levenshtein_examples.json generated
77 Lib/test/test_stable_abi_ctypes.py generated
78 Lib/token.py generated
79 Objects/typeslots.inc generated
80 PC/python3dll.c generated
81 Parser/parser.c generated
82 Parser/token.c generated
83 Programs/test_frozenmain.h generated
84 Python/Python-ast.c generated
85 Python/generated_cases.c.h generated
86 Python/opcode_targets.h generated
87 Python/stdlib_module_names.h generated
88 Tools/peg_generator/pegen/grammar_parser.py generated
89 aclocal.m4 generated
90 configure generated