blob: b662374b1255cbd8db9b3c65cde7689912c88a95 [file] [log] [blame]
Zachary Waredf935b52019-09-11 11:31:12 +01001#####
2# First, rules intended to apply in all subdirectories.
3# These contain no slash, or only a trailing slash.
Miss Islington (bot)caf7a302019-08-27 11:35:11 -07004
Victor Stinner7bbc8552010-12-17 22:24:30 +00005*.cover
gfyoungc0fa4ba2017-05-24 11:57:37 -04006*.iml
Victor Stinner7bbc8552010-12-17 22:24:30 +00007*.o
Zachary Waredf935b52019-09-11 11:31:12 +01008*.a
9*.so*
10*.dylib
11*.dll
Victor Stinner7bbc8552010-12-17 22:24:30 +000012*.orig
13*.pyc
14*.pyd
15*.pyo
16*.rej
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030017*.swp
Victor Stinner7bbc8552010-12-17 22:24:30 +000018*~
Brett Cannon7188a3e2015-09-18 15:13:44 -070019*.gc??
20*.profclang?
21*.profraw
Zachary Ware5af85642015-12-21 12:09:17 -060022*.dyn
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030023.gdb_history
Zachary Waredf935b52019-09-11 11:31:12 +010024.purify
25__pycache__
26.hg/
27.svn/
28.idea/
29tags
30TAGS
31.vs/
32.vscode/
33gmon.out
34.coverage
35.mypy_cache/
36
37*.exe
38!Lib/distutils/command/*.exe
39
40# Ignore core dumps... but not Tools/msi/core/ or the like.
41core
42!core/
43
44
45#####
46# Then, rules meant for a specific location relative to the repo root.
47# These must contain a non-trailing slash (and may also have a trailing slash.)
48
Victor Stinnerd960fae2010-10-25 17:37:18 +000049Doc/build/
Brett Cannond5ea39d2014-12-05 15:17:31 -050050Doc/venv/
Ned Deily590665c2017-09-07 17:17:53 -070051Doc/.venv/
52Doc/env/
53Doc/.env/
Ɓukasz Langa50da40f2017-03-10 05:29:43 -080054Include/pydtrace_probes.h
Steve Dower65e4cb12014-11-22 12:54:57 -080055Lib/distutils/command/*.pdb
Victor Stinner7bbc8552010-12-17 22:24:30 +000056Lib/lib2to3/*.pickle
Andrew Kuchling5e03e492013-06-21 07:44:50 -040057Lib/test/data/*
Miss Islington (bot)c837ad42019-09-09 03:25:04 -070058!Lib/test/data/README
59/Makefile
Zachary Waredf935b52019-09-11 11:31:12 +010060/Makefile.pre
Victor Stinnerd960fae2010-10-25 17:37:18 +000061Misc/python.pc
Victor Stinner0a8e5722019-05-23 03:30:23 +020062Misc/python-embed.pc
Petri Lehtinen4eb9f502013-02-23 15:35:42 +010063Misc/python-config.sh
Victor Stinnerd960fae2010-10-25 17:37:18 +000064Modules/Setup.config
65Modules/Setup.local
66Modules/config.c
Victor Stinner7bbc8552010-12-17 22:24:30 +000067Modules/ld_so_aix
Nick Coghlan973fe0b2014-07-25 21:52:14 +100068Programs/_freeze_importlib
69Programs/_testembed
Zachary Ware30270c82014-10-10 23:42:59 -050070PC/python_nt*.h
71PC/pythonnt_rc*.h
Steve Dower65e4cb12014-11-22 12:54:57 -080072PC/*/*.exp
73PC/*/*.lib
74PC/*/*.bsc
75PC/*/*.dll
76PC/*/*.pdb
77PC/*/*.user
78PC/*/*.ncb
79PC/*/*.suo
80PC/*/Win32-temp-*
81PC/*/x64-temp-*
82PC/*/amd64
Zachary Ware30270c82014-10-10 23:42:59 -050083PCbuild/*.user
84PCbuild/*.suo
85PCbuild/*.*sdf
Zachary Ware30270c82014-10-10 23:42:59 -050086PCbuild/*-pgi
87PCbuild/*-pgo
Segev Finer8e675282017-04-21 02:32:26 +030088PCbuild/*.VC.db
89PCbuild/*.VC.opendb
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030090PCbuild/amd64/
Paul Monson8a1657b2019-02-14 08:31:30 -080091PCbuild/arm32/
Paul Monsonf96e7fd2019-05-17 10:07:24 -070092PCbuild/arm64/
Zachary Ware2eb1a8b2015-05-16 22:45:27 -050093PCbuild/obj/
Segev Finerbe5ebe52017-07-06 23:43:37 +030094PCbuild/win32/
Zachary Waredf935b52019-09-11 11:31:12 +010095/autom4te.cache
96/build/
97/config.cache
98/config.log
99/config.status
100/config.status.lineno
101/platform
102/pybuilddir.txt
Miss Islington (bot)c837ad42019-09-09 03:25:04 -0700103/pyconfig.h
Zachary Waredf935b52019-09-11 11:31:12 +0100104/python-config
105/python-config.py
106/python.bat
107/python-gdb.py
108/python.exe-gdb.py
109/reflog.txt
110/coverage/
111/externals/
112/htmlcov/
Steve Dowerbb240872015-02-05 22:08:48 -0800113Tools/msi/obj
Steve Dower65e4cb12014-11-22 12:54:57 -0800114Tools/ssl/amd64
115Tools/ssl/win32
Zachary Waredf935b52019-09-11 11:31:12 +0100116
117# Two-trick pony for OSX and other case insensitive file systems:
118# Ignore ./python binary on Unix but still look into ./Python/ directory.
119/python
120!/Python/