blob: be369d2a5c63c449cdb955179ee58829bbea171b [file] [log] [blame]
Zachary Ware6b6e6872017-06-10 14:58:42 -05001# 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
Benjamin Peterson27713042017-02-22 22:38:48 -080012*.pck binary
Zachary Ware6b6e6872017-06-10 14:58:42 -050013*.png binary
14*.psd binary
15*.tar binary
16*.wav binary
17*.whl binary
18*.zip binary
19
20# Specific binary files
Benjamin Peterson27713042017-02-22 22:38:48 -080021Lib/test/sndhdrdata/sndhdr.* binary
Steve Dower0cd63912018-12-10 18:52:57 -080022PC/classicAppCompat.* binary
Zachary Ware6b6e6872017-06-10 14:58:42 -050023
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
Victor Stinner44a70e92018-01-17 10:26:03 +010030Lib/test/test_importlib/data01/* -text
Zachary Ware6b6e6872017-06-10 14:58:42 -050031
Zachary Ware6b6e6872017-06-10 14:58:42 -050032# 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
INADA Naokic1897ed2018-06-16 00:45:02 +090041
42# Generated files
Erlend Egeberg Aasland876ade12022-01-20 22:06:47 +010043# https://github.com/github/linguist/blob/master/docs/overrides.md
44**/clinic/*.h linguist-generated=true
INADA Naokic1897ed2018-06-16 00:45:02 +090045Python/importlib.h linguist-generated=true
46Python/importlib_external.h linguist-generated=true
Victor Stinner94faa072021-03-23 20:47:40 +010047Include/internal/pycore_ast.h linguist-generated=true
INADA Naokic1897ed2018-06-16 00:45:02 +090048Python/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
Greg Price4e3dfcc2019-08-12 22:23:41 -070052*_db.h linguist-generated=true
Serhiy Storchaka8ac65812018-12-22 11:18:40 +020053Doc/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
Raymond Hettinger95ad8902020-10-19 12:13:01 -070057
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