blob: b11f72f69fae56529a70a2fe13ac64c3f14d74cc [file] [log] [blame]
Greg Price455122a2019-09-11 02:25:26 -07001#####
2# First, rules intended to apply in all subdirectories.
3# These contain no slash, or only a trailing slash.
Greg Price8c9e9b02019-08-27 11:16:31 -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
Greg Price455122a2019-09-11 02:25:26 -07008*.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
Greg Price455122a2019-09-11 02:25:26 -070024.purify
25__pycache__
26.hg/
27.svn/
28.idea/
29tags
30TAGS
31.vs/
32.vscode/
33gmon.out
34.coverage
35.mypy_cache/
Brandt Bucher57d3ab82019-11-15 00:22:41 -080036.pytest_cache/
Greg Price455122a2019-09-11 02:25:26 -070037
38*.exe
39!Lib/distutils/command/*.exe
40
41# Ignore core dumps... but not Tools/msi/core/ or the like.
42core
43!core/
44
45
46#####
47# Then, rules meant for a specific location relative to the repo root.
48# These must contain a non-trailing slash (and may also have a trailing slash.)
49
Victor Stinnerd960fae2010-10-25 17:37:18 +000050Doc/build/
Brett Cannond5ea39d2014-12-05 15:17:31 -050051Doc/venv/
Ned Deily590665c2017-09-07 17:17:53 -070052Doc/.venv/
53Doc/env/
54Doc/.env/
Ɓukasz Langa50da40f2017-03-10 05:29:43 -080055Include/pydtrace_probes.h
Steve Dower65e4cb12014-11-22 12:54:57 -080056Lib/distutils/command/*.pdb
Victor Stinner7bbc8552010-12-17 22:24:30 +000057Lib/lib2to3/*.pickle
Andrew Kuchling5e03e492013-06-21 07:44:50 -040058Lib/test/data/*
Greg Price5e5e9512019-09-09 02:34:50 -070059!Lib/test/data/README
60/Makefile
Greg Price455122a2019-09-11 02:25:26 -070061/Makefile.pre
Victor Stinnerd960fae2010-10-25 17:37:18 +000062Misc/python.pc
Victor Stinner0a8e5722019-05-23 03:30:23 +020063Misc/python-embed.pc
Petri Lehtinen4eb9f502013-02-23 15:35:42 +010064Misc/python-config.sh
Victor Stinnerd960fae2010-10-25 17:37:18 +000065Modules/Setup.config
66Modules/Setup.local
67Modules/config.c
Victor Stinner7bbc8552010-12-17 22:24:30 +000068Modules/ld_so_aix
Nick Coghlan973fe0b2014-07-25 21:52:14 +100069Programs/_freeze_importlib
70Programs/_testembed
Zachary Ware30270c82014-10-10 23:42:59 -050071PC/python_nt*.h
72PC/pythonnt_rc*.h
Steve Dower65e4cb12014-11-22 12:54:57 -080073PC/*/*.exp
74PC/*/*.lib
75PC/*/*.bsc
76PC/*/*.dll
77PC/*/*.pdb
78PC/*/*.user
79PC/*/*.ncb
80PC/*/*.suo
81PC/*/Win32-temp-*
82PC/*/x64-temp-*
83PC/*/amd64
Zachary Ware30270c82014-10-10 23:42:59 -050084PCbuild/*.user
85PCbuild/*.suo
86PCbuild/*.*sdf
Zachary Ware30270c82014-10-10 23:42:59 -050087PCbuild/*-pgi
88PCbuild/*-pgo
Segev Finer8e675282017-04-21 02:32:26 +030089PCbuild/*.VC.db
90PCbuild/*.VC.opendb
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030091PCbuild/amd64/
Paul Monson8a1657b2019-02-14 08:31:30 -080092PCbuild/arm32/
Paul Monsonf96e7fd2019-05-17 10:07:24 -070093PCbuild/arm64/
Zachary Ware2eb1a8b2015-05-16 22:45:27 -050094PCbuild/obj/
Segev Finerbe5ebe52017-07-06 23:43:37 +030095PCbuild/win32/
Greg Price3e4498d2019-08-14 18:18:53 -070096Tools/unicode/data/
Greg Price455122a2019-09-11 02:25:26 -070097/autom4te.cache
98/build/
99/config.cache
100/config.log
101/config.status
102/config.status.lineno
103/platform
104/pybuilddir.txt
Greg Price5e5e9512019-09-09 02:34:50 -0700105/pyconfig.h
Greg Price455122a2019-09-11 02:25:26 -0700106/python-config
107/python-config.py
108/python.bat
109/python-gdb.py
110/python.exe-gdb.py
111/reflog.txt
112/coverage/
113/externals/
114/htmlcov/
Steve Dowerbb240872015-02-05 22:08:48 -0800115Tools/msi/obj
Steve Dower65e4cb12014-11-22 12:54:57 -0800116Tools/ssl/amd64
117Tools/ssl/win32
Greg Price455122a2019-09-11 02:25:26 -0700118
119# Two-trick pony for OSX and other case insensitive file systems:
120# Ignore ./python binary on Unix but still look into ./Python/ directory.
121/python
122!/Python/