• 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
21Lib/test/sndhdrdata/sndhdr.* binary
22PC/classicAppCompat.* binary
23
24# Text files that should not be subject to eol conversion
25Lib/test/cjkencodings/* -text
26Lib/test/decimaltestdata/*.decTest -text
27Lib/test/test_email/data/*.txt -text
28Lib/test/xmltestdata/* -text
29Lib/test/coding20731.py -text
30Lib/test/test_importlib/data01/* -text
31
32# CRLF files
33*.bat text eol=crlf
34*.ps1 text eol=crlf
35*.sln text eol=crlf
36*.vcxproj* text eol=crlf
37*.props text eol=crlf
38*.proj text eol=crlf
39PCbuild/readme.txt text eol=crlf
40PC/readme.txt text eol=crlf
41
42# Generated files
43# https://github.com/github/linguist/blob/master/docs/overrides.md
44**/clinic/*.h               linguist-generated=true
45Python/importlib.h          linguist-generated=true
46Python/importlib_external.h linguist-generated=true
47Include/internal/pycore_ast.h   linguist-generated=true
48Python/Python-ast.c         linguist-generated=true
49Include/opcode.h            linguist-generated=true
50Python/opcode_targets.h     linguist-generated=true
51Objects/typeslots.inc       linguist-generated=true
52*_db.h                      linguist-generated=true
53Doc/library/token-list.inc  linguist-generated=true
54Include/token.h             linguist-generated=true
55Lib/token.py                linguist-generated=true
56Parser/token.c              linguist-generated=true
57
58# Language aware diff headers
59# https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more
60# https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
61*.c     diff=cpp
62*.h     diff=cpp
63*.css   diff=css
64*.html  diff=html
65*.py    diff=python
66*.md    diff=markdown
67