Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 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 |
Benjamin Peterson | 2771304 | 2017-02-22 22:38:48 -0800 | [diff] [blame] | 12 | *.pck binary |
Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 13 | *.png binary |
| 14 | *.psd binary |
| 15 | *.tar binary |
| 16 | *.wav binary |
| 17 | *.whl binary |
| 18 | *.zip binary |
| 19 | |
| 20 | # Specific binary files |
Benjamin Peterson | 2771304 | 2017-02-22 22:38:48 -0800 | [diff] [blame] | 21 | Lib/test/sndhdrdata/sndhdr.* binary |
Steve Dower | 0cd6391 | 2018-12-10 18:52:57 -0800 | [diff] [blame] | 22 | PC/classicAppCompat.* binary |
Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 23 | |
| 24 | # Text files that should not be subject to eol conversion |
| 25 | Lib/test/cjkencodings/* -text |
| 26 | Lib/test/decimaltestdata/*.decTest -text |
| 27 | Lib/test/test_email/data/*.txt -text |
| 28 | Lib/test/xmltestdata/* -text |
| 29 | Lib/test/coding20731.py -text |
Victor Stinner | 44a70e9 | 2018-01-17 10:26:03 +0100 | [diff] [blame] | 30 | Lib/test/test_importlib/data01/* -text |
Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 31 | |
Zachary Ware | 6b6e687 | 2017-06-10 14:58:42 -0500 | [diff] [blame] | 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 |
| 39 | PCbuild/readme.txt text eol=crlf |
| 40 | PC/readme.txt text eol=crlf |
INADA Naoki | c1897ed | 2018-06-16 00:45:02 +0900 | [diff] [blame] | 41 | |
| 42 | # Generated files |
| 43 | # https://github.com/github/linguist#generated-code |
INADA Naoki | c1897ed | 2018-06-16 00:45:02 +0900 | [diff] [blame] | 44 | Modules/clinic/*.h linguist-generated=true |
| 45 | Objects/clinic/*.h linguist-generated=true |
| 46 | PC/clinic/*.h linguist-generated=true |
| 47 | Python/clinic/*.h linguist-generated=true |
| 48 | Python/importlib.h linguist-generated=true |
| 49 | Python/importlib_external.h linguist-generated=true |
| 50 | Include/Python-ast.h linguist-generated=true |
| 51 | Python/Python-ast.c linguist-generated=true |
| 52 | Include/opcode.h linguist-generated=true |
| 53 | Python/opcode_targets.h linguist-generated=true |
| 54 | Objects/typeslots.inc linguist-generated=true |
Greg Price | 4e3dfcc | 2019-08-12 22:23:41 -0700 | [diff] [blame] | 55 | *_db.h linguist-generated=true |
Serhiy Storchaka | 8ac6581 | 2018-12-22 11:18:40 +0200 | [diff] [blame] | 56 | Doc/library/token-list.inc linguist-generated=true |
| 57 | Include/token.h linguist-generated=true |
| 58 | Lib/token.py linguist-generated=true |
| 59 | Parser/token.c linguist-generated=true |
Raymond Hettinger | 95ad890 | 2020-10-19 12:13:01 -0700 | [diff] [blame] | 60 | |
| 61 | # Language aware diff headers |
| 62 | # https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more |
| 63 | # https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81 |
| 64 | *.c diff=cpp |
| 65 | *.h diff=cpp |
| 66 | *.css diff=css |
| 67 | *.html diff=html |
| 68 | *.py diff=python |
| 69 | *.md diff=markdown |