2017-06-10 16:58:42 -03: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 02:38:48 -04:00
|
|
|
*.pck binary
|
2017-06-10 16:58:42 -03:00
|
|
|
*.png binary
|
|
|
|
*.psd binary
|
|
|
|
*.tar binary
|
|
|
|
*.wav binary
|
|
|
|
*.whl binary
|
|
|
|
*.zip binary
|
|
|
|
|
|
|
|
# Specific binary files
|
2018-12-10 22:52:57 -04:00
|
|
|
PC/classicAppCompat.* binary
|
2017-06-10 16:58:42 -03:00
|
|
|
|
|
|
|
# Text files that should not be subject to eol conversion
|
2022-04-17 17:53:31 -03:00
|
|
|
[attr]noeol -text
|
|
|
|
|
|
|
|
Lib/test/cjkencodings/* noeol
|
2023-09-12 03:37:42 -03:00
|
|
|
Lib/test/tokenizedata/coding20731.py noeol
|
2022-04-17 17:53:31 -03:00
|
|
|
Lib/test/decimaltestdata/*.decTest noeol
|
|
|
|
Lib/test/test_email/data/*.txt noeol
|
2022-07-24 21:53:10 -03:00
|
|
|
Lib/test/test_importlib/resources/data01/* noeol
|
|
|
|
Lib/test/test_importlib/resources/namespacedata01/* noeol
|
2022-04-17 17:53:31 -03:00
|
|
|
Lib/test/xmltestdata/* noeol
|
2017-06-10 16:58:42 -03:00
|
|
|
|
2023-04-12 17:11:50 -03:00
|
|
|
# Shell scripts should have LF even on Windows because of Cygwin
|
|
|
|
Lib/venv/scripts/common/activate text eol=lf
|
2023-04-17 13:33:54 -03:00
|
|
|
Lib/venv/scripts/posix/* text eol=lf
|
2023-04-12 17:11:50 -03:00
|
|
|
|
2017-06-10 16:58:42 -03:00
|
|
|
# CRLF files
|
2022-04-17 17:53:31 -03: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 12:45:02 -03:00
|
|
|
|
2020-10-19 16:13:01 -03: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-21 16:59:45 -04: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-07 17:04:05 -03:00
|
|
|
**/clinic/*.c.h generated
|
2023-08-31 18:42:34 -03:00
|
|
|
**/clinic/*.cpp.h generated
|
|
|
|
**/clinic/*.h.h generated
|
2022-07-07 17:04:05 -03: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 01:37:23 -03:00
|
|
|
Include/internal/pycore_opcode_metadata.h generated
|
2022-11-08 13:03:03 -04:00
|
|
|
Include/internal/pycore_*_generated.h generated
|
2022-07-07 17:04:05 -03:00
|
|
|
Include/opcode.h generated
|
2023-08-11 13:42:01 -03:00
|
|
|
Include/opcode_ids.h generated
|
2022-07-07 17:04:05 -03:00
|
|
|
Include/token.h generated
|
2023-08-04 01:37:23 -03:00
|
|
|
Lib/_opcode_metadata.py generated
|
2022-07-07 17:04:05 -03:00
|
|
|
Lib/keyword.py generated
|
2022-10-04 19:31:16 -03:00
|
|
|
Lib/test/levenshtein_examples.json generated
|
2022-07-07 17:04:05 -03:00
|
|
|
Lib/test/test_stable_abi_ctypes.py generated
|
|
|
|
Lib/token.py generated
|
2023-12-08 09:46:19 -04:00
|
|
|
Misc/sbom.spdx.json generated
|
2022-07-07 17:04:05 -03: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-26 23:02:57 -03:00
|
|
|
Python/executor_cases.c.h generated
|
2023-06-29 17:49:54 -03:00
|
|
|
Python/generated_cases.c.h generated
|
2023-08-15 15:04:17 -03:00
|
|
|
Python/abstract_interp_cases.c.h generated
|
2022-07-07 17:04:05 -03: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
|