2017-06-11 03:58:42 +08:00
|
|
|
# Binary data types
|
|
|
|
*.aif binary
|
|
|
|
*.aifc binary
|
|
|
|
*.aiff binary
|
|
|
|
*.au binary
|
|
|
|
*.bmp binary
|
|
|
|
*.exe binary
|
|
|
|
*.icns binary
|
|
|
|
*.gif binary
|
|
|
|
*.ico binary
|
|
|
|
*.jpg binary
|
2017-02-23 14:38:48 +08:00
|
|
|
*.pck binary
|
2017-06-11 03:58:42 +08:00
|
|
|
*.png binary
|
|
|
|
*.psd binary
|
|
|
|
*.tar binary
|
|
|
|
*.wav binary
|
|
|
|
*.whl binary
|
|
|
|
*.zip binary
|
|
|
|
|
|
|
|
# Specific binary files
|
2017-02-23 14:38:48 +08:00
|
|
|
Lib/test/sndhdrdata/sndhdr.* binary
|
2018-12-11 10:52:57 +08:00
|
|
|
PC/classicAppCompat.* binary
|
2017-06-11 03:58:42 +08:00
|
|
|
|
|
|
|
# Text files that should not be subject to eol conversion
|
2022-04-18 04:53:31 +08:00
|
|
|
[attr]noeol -text
|
|
|
|
|
|
|
|
Lib/test/cjkencodings/* noeol
|
|
|
|
Lib/test/coding20731.py noeol
|
|
|
|
Lib/test/decimaltestdata/*.decTest noeol
|
|
|
|
Lib/test/test_email/data/*.txt noeol
|
2022-07-25 08:53:10 +08:00
|
|
|
Lib/test/test_importlib/resources/data01/* noeol
|
|
|
|
Lib/test/test_importlib/resources/namespacedata01/* noeol
|
2022-04-18 04:53:31 +08:00
|
|
|
Lib/test/xmltestdata/* noeol
|
2017-06-11 03:58:42 +08:00
|
|
|
|
|
|
|
# CRLF files
|
2022-04-18 04:53:31 +08:00
|
|
|
[attr]dos text eol=crlf
|
|
|
|
|
|
|
|
*.bat dos
|
|
|
|
*.proj dos
|
|
|
|
*.props dos
|
|
|
|
*.ps1 dos
|
|
|
|
*.sln dos
|
|
|
|
*.vcxproj* dos
|
|
|
|
PC/readme.txt dos
|
|
|
|
PCbuild/readme.txt dos
|
2018-06-15 23:45:02 +08:00
|
|
|
|
2020-10-20 03:13:01 +08:00
|
|
|
# Language aware diff headers
|
|
|
|
# https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more
|
|
|
|
# https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
|
|
|
|
*.c diff=cpp
|
|
|
|
*.h diff=cpp
|
|
|
|
*.css diff=css
|
|
|
|
*.html diff=html
|
|
|
|
*.py diff=python
|
|
|
|
*.md diff=markdown
|
2022-01-22 04:59:45 +08:00
|
|
|
|
|
|
|
# Generated files
|
|
|
|
# https://github.com/github/linguist/blob/master/docs/overrides.md
|
|
|
|
#
|
|
|
|
# To always hide generated files in local diffs, mark them as binary:
|
|
|
|
# $ git config diff.generated.binary true
|
|
|
|
#
|
|
|
|
[attr]generated linguist-generated=true diff=generated
|
|
|
|
|
2022-07-08 04:04:05 +08:00
|
|
|
**/clinic/*.c.h generated
|
|
|
|
*_db.h generated
|
|
|
|
Doc/data/stable_abi.dat generated
|
|
|
|
Doc/library/token-list.inc generated
|
|
|
|
Include/internal/pycore_ast.h generated
|
|
|
|
Include/internal/pycore_ast_state.h generated
|
|
|
|
Include/internal/pycore_opcode.h generated
|
2022-11-09 01:03:03 +08:00
|
|
|
Include/internal/pycore_*_generated.h generated
|
2022-07-08 04:04:05 +08:00
|
|
|
Include/opcode.h generated
|
|
|
|
Include/token.h generated
|
|
|
|
Lib/keyword.py generated
|
2022-10-05 06:31:16 +08:00
|
|
|
Lib/test/levenshtein_examples.json generated
|
2022-07-08 04:04:05 +08:00
|
|
|
Lib/test/test_stable_abi_ctypes.py generated
|
|
|
|
Lib/token.py generated
|
|
|
|
Objects/typeslots.inc generated
|
|
|
|
PC/python3dll.c generated
|
|
|
|
Parser/parser.c generated
|
|
|
|
Parser/token.c generated
|
|
|
|
Programs/test_frozenmain.h generated
|
|
|
|
Python/Python-ast.c generated
|
2022-11-03 12:31:26 +08:00
|
|
|
Python/generated_cases.c.h generated
|
2022-07-08 04:04:05 +08:00
|
|
|
Python/opcode_targets.h generated
|
|
|
|
Python/stdlib_module_names.h generated
|
|
|
|
Tools/peg_generator/pegen/grammar_parser.py generated
|
|
|
|
aclocal.m4 generated
|
|
|
|
configure generated
|