• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
21PC/classicAppCompat.* binary
22
23# Text files that should not be subject to eol conversion
24[attr]noeol -text
25
26Lib/test/cjkencodings/*                    noeol
27Lib/test/tokenizedata/coding20731.py       noeol
28Lib/test/decimaltestdata/*.decTest         noeol
29Lib/test/test_email/data/*.txt             noeol
30Lib/test/xmltestdata/*                     noeol
31
32# Shell scripts should have LF even on Windows because of Cygwin
33Lib/venv/scripts/common/activate text eol=lf
34Lib/venv/scripts/posix/* text eol=lf
35
36# CRLF files
37[attr]dos text eol=crlf
38
39*.bat               dos
40*.proj              dos
41*.props             dos
42*.ps1               dos
43*.sln               dos
44*.vcxproj*          dos
45PC/readme.txt       dos
46PCbuild/readme.txt  dos
47
48# Language aware diff headers
49# https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more
50# https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
51*.c     diff=cpp
52*.h     diff=cpp
53*.css   diff=css
54*.html  diff=html
55*.py    diff=python
56*.md    diff=markdown
57
58# Generated files
59# https://github.com/github/linguist/blob/master/docs/overrides.md
60#
61# To always hide generated files in local diffs, mark them as binary:
62# $ git config diff.generated.binary true
63#
64[attr]generated linguist-generated=true diff=generated
65
66**/clinic/*.c.h                                     generated
67**/clinic/*.cpp.h                                   generated
68**/clinic/*.h.h                                     generated
69*_db.h                                              generated
70Doc/data/stable_abi.dat                             generated
71Doc/library/token-list.inc                          generated
72Include/internal/pycore_ast.h                       generated
73Include/internal/pycore_ast_state.h                 generated
74Include/internal/pycore_opcode.h                    generated
75Include/internal/pycore_opcode_metadata.h           generated
76Include/internal/pycore_*_generated.h               generated
77Include/internal/pycore_uop_ids.h                   generated
78Include/internal/pycore_uop_metadata.h              generated
79Include/opcode.h                                    generated
80Include/opcode_ids.h                                generated
81Include/token.h                                     generated
82Lib/_opcode_metadata.py                             generated
83Lib/keyword.py                                      generated
84Lib/test/certdata/*.pem                             generated
85Lib/test/certdata/*.0                               generated
86Lib/test/levenshtein_examples.json                  generated
87Lib/test/test_stable_abi_ctypes.py                  generated
88Lib/token.py                                        generated
89Misc/sbom.spdx.json                                 generated
90Objects/typeslots.inc                               generated
91PC/python3dll.c                                     generated
92Parser/parser.c                                     generated
93Parser/token.c                                      generated
94Programs/test_frozenmain.h                          generated
95Python/Python-ast.c                                 generated
96Python/executor_cases.c.h                           generated
97Python/generated_cases.c.h                          generated
98Python/optimizer_cases.c.h                          generated
99Python/opcode_targets.h                             generated
100Python/stdlib_module_names.h                        generated
101Tools/peg_generator/pegen/grammar_parser.py         generated
102aclocal.m4                                          generated
103configure                                           generated
104