1##### 2# First, rules intended to apply in all subdirectories. 3# These contain no slash, or only a trailing slash. 4 5*.cover 6*.iml 7*.o 8*.a 9*.so 10*.so.* 11*.dylib 12*.dll 13*.orig 14*.pyc 15*.pyd 16*.pyo 17*.rej 18*.swp 19*~ 20*.gc?? 21*.profclang? 22*.profraw 23*.dyn 24.gdb_history 25.purify 26__pycache__ 27.hg/ 28.svn/ 29.idea/ 30tags 31TAGS 32.vs/ 33.vscode/ 34gmon.out 35.coverage 36.mypy_cache/ 37.pytest_cache/ 38.DS_Store 39 40*.exe 41!Lib/distutils/command/*.exe 42 43# Ignore core dumps... but not Tools/msi/core/ or the like. 44core 45!core/ 46 47 48##### 49# Then, rules meant for a specific location relative to the repo root. 50# These must contain a non-trailing slash (and may also have a trailing slash.) 51 52Doc/build/ 53Doc/venv/ 54Doc/.venv/ 55Doc/env/ 56Doc/.env/ 57Include/pydtrace_probes.h 58Lib/distutils/command/*.pdb 59Lib/lib2to3/*.pickle 60Lib/test/data/* 61!Lib/test/data/README 62/Makefile 63/Makefile.pre 64Mac/Makefile 65Mac/PythonLauncher/Info.plist 66Mac/PythonLauncher/Makefile 67Mac/PythonLauncher/Python Launcher 68Mac/PythonLauncher/Python Launcher.app/* 69Mac/Resources/app/Info.plist 70Mac/Resources/framework/Info.plist 71Mac/pythonw 72/*.framework/ 73Misc/python.pc 74Misc/python-embed.pc 75Misc/python-config.sh 76Modules/Setup.config 77Modules/Setup.local 78Modules/config.c 79Modules/ld_so_aix 80Programs/_freeze_importlib 81Programs/_testembed 82PC/python_nt*.h 83PC/pythonnt_rc*.h 84Modules/python.exp 85PC/*/*.exp 86PC/*/*.lib 87PC/*/*.bsc 88PC/*/*.dll 89PC/*/*.pdb 90PC/*/*.user 91PC/*/*.ncb 92PC/*/*.suo 93PC/*/Win32-temp-* 94PC/*/x64-temp-* 95PC/*/amd64 96PCbuild/*.user 97PCbuild/*.suo 98PCbuild/*.*sdf 99PCbuild/*-pgi 100PCbuild/*-pgo 101PCbuild/*.VC.db 102PCbuild/*.VC.opendb 103PCbuild/amd64/ 104PCbuild/arm32/ 105PCbuild/arm64/ 106PCbuild/obj/ 107PCbuild/win32/ 108Tools/unicode/data/ 109/autom4te.cache 110/build/ 111/config.cache 112/config.log 113/config.status 114/config.status.lineno 115# hendrikmuhs/ccache-action@v1 116/.ccache 117/platform 118/profile-clean-stamp 119/profile-run-stamp 120/pybuilddir.txt 121/pyconfig.h 122/python-config 123/python-config.py 124/python.bat 125/python-gdb.py 126/python.exe-gdb.py 127/reflog.txt 128/coverage/ 129/externals/ 130/htmlcov/ 131Tools/msi/obj 132Tools/ssl/amd64 133Tools/ssl/win32 134 135# Two-trick pony for OSX and other case insensitive file systems: 136# Ignore ./python binary on Unix but still look into ./Python/ directory. 137/python 138!/Python/ 139 140# Artifacts generated by 3.11 lying around when switching branches: 141/_bootstrap_python 142/Programs/_freeze_module 143/Python/deepfreeze/ 144/Python/frozen_modules/