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 25[attr]noeol -text 26 27Lib/test/cjkencodings/* noeol 28Lib/test/coding20731.py noeol 29Lib/test/decimaltestdata/*.decTest noeol 30Lib/test/test_email/data/*.txt noeol 31Lib/test/test_importlib/data01/* noeol 32Lib/test/test_importlib/namespacedata01/* noeol 33Lib/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 44PC/readme.txt dos 45PCbuild/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 67Doc/data/stable_abi.dat generated 68Doc/library/token-list.inc generated 69Include/internal/pycore_ast.h generated 70Include/internal/pycore_ast_state.h generated 71Include/internal/pycore_opcode.h generated 72Include/opcode.h generated 73Include/token.h generated 74Lib/keyword.py generated 75Lib/test/test_stable_abi_ctypes.py generated 76Lib/token.py generated 77Objects/typeslots.inc generated 78PC/python3dll.c generated 79Parser/parser.c generated 80Parser/token.c generated 81Programs/test_frozenmain.h generated 82Python/Python-ast.c generated 83Python/opcode_targets.h generated 84Python/stdlib_module_names.h generated 85Tools/peg_generator/pegen/grammar_parser.py generated 86aclocal.m4 generated 87configure generated 88