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 39*.exe 40!Lib/distutils/command/*.exe 41 42# Ignore core dumps... but not Tools/msi/core/ or the like. 43core 44!core/ 45 46 47##### 48# Then, rules meant for a specific location relative to the repo root. 49# These must contain a non-trailing slash (and may also have a trailing slash.) 50 51Doc/build/ 52Doc/venv/ 53Doc/.venv/ 54Doc/env/ 55Doc/.env/ 56Include/pydtrace_probes.h 57Lib/distutils/command/*.pdb 58Lib/lib2to3/*.pickle 59Lib/test/data/* 60!Lib/test/data/README 61/Makefile 62/Makefile.pre 63Misc/python.pc 64Misc/python-embed.pc 65Misc/python-config.sh 66Modules/Setup.config 67Modules/Setup.local 68Modules/config.c 69Modules/ld_so_aix 70Programs/_freeze_importlib 71Programs/_testembed 72PC/python_nt*.h 73PC/pythonnt_rc*.h 74Modules/python.exp 75PC/*/*.exp 76PC/*/*.lib 77PC/*/*.bsc 78PC/*/*.dll 79PC/*/*.pdb 80PC/*/*.user 81PC/*/*.ncb 82PC/*/*.suo 83PC/*/Win32-temp-* 84PC/*/x64-temp-* 85PC/*/amd64 86PCbuild/*.user 87PCbuild/*.suo 88PCbuild/*.*sdf 89PCbuild/*-pgi 90PCbuild/*-pgo 91PCbuild/*.VC.db 92PCbuild/*.VC.opendb 93PCbuild/amd64/ 94PCbuild/arm32/ 95PCbuild/arm64/ 96PCbuild/obj/ 97PCbuild/win32/ 98Tools/unicode/data/ 99/autom4te.cache 100/build/ 101/config.cache 102/config.log 103/config.status 104/config.status.lineno 105/platform 106/profile-clean-stamp 107/profile-run-stamp 108/pybuilddir.txt 109/pyconfig.h 110/python-config 111/python-config.py 112/python.bat 113/python-gdb.py 114/python.exe-gdb.py 115/reflog.txt 116/coverage/ 117/externals/ 118/htmlcov/ 119Tools/msi/obj 120Tools/ssl/amd64 121Tools/ssl/win32 122 123# Two-trick pony for OSX and other case insensitive file systems: 124# Ignore ./python binary on Unix but still look into ./Python/ directory. 125/python 126!/Python/ 127