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
|
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
|
2023-09-12 14:37:42 +08:00
|
|
|
Lib/test/tokenizedata/coding20731.py noeol
|
2022-04-18 04:53:31 +08:00
|
|
|
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
|
|
|
|
2023-04-13 04:11:50 +08:00
|
|
|
# Shell scripts should have LF even on Windows because of Cygwin
|
|
|
|
Lib/venv/scripts/common/activate text eol=lf
|
2023-04-18 00:33:54 +08:00
|
|
|
Lib/venv/scripts/posix/* text eol=lf
|
2023-04-13 04:11:50 +08:00
|
|
|
|
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
|
2023-09-01 05:42:34 +08:00
|
|
|
**/clinic/*.cpp.h generated
|
|
|
|
**/clinic/*.h.h generated
|
2022-07-08 04:04:05 +08:00
|
|
|
*_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
|
2023-08-04 12:37:23 +08:00
|
|
|
Include/internal/pycore_opcode_metadata.h generated
|
2022-11-09 01:03:03 +08:00
|
|
|
Include/internal/pycore_*_generated.h generated
|
2023-12-11 22:14:36 +08:00
|
|
|
Include/internal/pycore_uop_ids.h generated
|
2024-02-20 17:39:55 +08:00
|
|
|
Include/internal/pycore_uop_metadata.h generated
|
2022-07-08 04:04:05 +08:00
|
|
|
Include/opcode.h generated
|
2023-08-12 00:42:01 +08:00
|
|
|
Include/opcode_ids.h generated
|
2022-07-08 04:04:05 +08:00
|
|
|
Include/token.h generated
|
2023-08-04 12:37:23 +08:00
|
|
|
Lib/_opcode_metadata.py generated
|
2022-07-08 04:04:05 +08:00
|
|
|
Lib/keyword.py generated
|
2024-03-07 05:44:58 +08:00
|
|
|
Lib/test/certdata/*.pem generated
|
|
|
|
Lib/test/certdata/*.0 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
|
2023-12-08 21:46:19 +08:00
|
|
|
Misc/sbom.spdx.json generated
|
2022-07-08 04:04:05 +08:00
|
|
|
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
|
2023-06-27 10:02:57 +08:00
|
|
|
Python/executor_cases.c.h generated
|
2023-06-30 04:49:54 +08:00
|
|
|
Python/generated_cases.c.h generated
|
2024-02-27 00:42:53 +08:00
|
|
|
Python/optimizer_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
|