blob: 80dcf34bf47a6f2f80f2b07885f84749f79bacb1 [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
Anthony Sottile1ef4c322019-11-26 20:54:46 -08009*.so
10*.so.*
Greg Price455122a2019-09-11 02:25:26 -070011*.dylib
12*.dll
Victor Stinner7bbc8552010-12-17 22:24:30 +000013*.orig
14*.pyc
15*.pyd
16*.pyo
17*.rej
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030018*.swp
Victor Stinner7bbc8552010-12-17 22:24:30 +000019*~
Brett Cannon7188a3e2015-09-18 15:13:44 -070020*.gc??
21*.profclang?
22*.profraw
Zachary Ware5af85642015-12-21 12:09:17 -060023*.dyn
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030024.gdb_history
Greg Price455122a2019-09-11 02:25:26 -070025.purify
26__pycache__
27.hg/
28.svn/
29.idea/
30tags
31TAGS
32.vs/
33.vscode/
34gmon.out
35.coverage
36.mypy_cache/
Brandt Bucher57d3ab82019-11-15 00:22:41 -080037.pytest_cache/
Greg Price455122a2019-09-11 02:25:26 -070038
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
Victor Stinnerd960fae2010-10-25 17:37:18 +000051Doc/build/
Brett Cannond5ea39d2014-12-05 15:17:31 -050052Doc/venv/
Ned Deily590665c2017-09-07 17:17:53 -070053Doc/.venv/
54Doc/env/
55Doc/.env/
Łukasz Langa50da40f2017-03-10 05:29:43 -080056Include/pydtrace_probes.h
Steve Dower65e4cb12014-11-22 12:54:57 -080057Lib/distutils/command/*.pdb
Victor Stinner7bbc8552010-12-17 22:24:30 +000058Lib/lib2to3/*.pickle
Andrew Kuchling5e03e492013-06-21 07:44:50 -040059Lib/test/data/*
Greg Price5e5e9512019-09-09 02:34:50 -070060!Lib/test/data/README
61/Makefile
Greg Price455122a2019-09-11 02:25:26 -070062/Makefile.pre
Victor Stinnerd960fae2010-10-25 17:37:18 +000063Misc/python.pc
Victor Stinner0a8e5722019-05-23 03:30:23 +020064Misc/python-embed.pc
Petri Lehtinen4eb9f502013-02-23 15:35:42 +010065Misc/python-config.sh
Victor Stinnerd960fae2010-10-25 17:37:18 +000066Modules/Setup.config
67Modules/Setup.local
68Modules/config.c
Victor Stinner7bbc8552010-12-17 22:24:30 +000069Modules/ld_so_aix
Nick Coghlan973fe0b2014-07-25 21:52:14 +100070Programs/_freeze_importlib
71Programs/_testembed
Zachary Ware30270c82014-10-10 23:42:59 -050072PC/python_nt*.h
73PC/pythonnt_rc*.h
Batuhan Taşkaya3955da82020-04-19 21:02:17 +030074Modules/python.exp
Steve Dower65e4cb12014-11-22 12:54:57 -080075PC/*/*.exp
76PC/*/*.lib
77PC/*/*.bsc
78PC/*/*.dll
79PC/*/*.pdb
80PC/*/*.user
81PC/*/*.ncb
82PC/*/*.suo
83PC/*/Win32-temp-*
84PC/*/x64-temp-*
85PC/*/amd64
Zachary Ware30270c82014-10-10 23:42:59 -050086PCbuild/*.user
87PCbuild/*.suo
88PCbuild/*.*sdf
Zachary Ware30270c82014-10-10 23:42:59 -050089PCbuild/*-pgi
90PCbuild/*-pgo
Segev Finer8e675282017-04-21 02:32:26 +030091PCbuild/*.VC.db
92PCbuild/*.VC.opendb
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030093PCbuild/amd64/
Paul Monson8a1657b2019-02-14 08:31:30 -080094PCbuild/arm32/
Paul Monsonf96e7fd2019-05-17 10:07:24 -070095PCbuild/arm64/
Zachary Ware2eb1a8b2015-05-16 22:45:27 -050096PCbuild/obj/
Segev Finerbe5ebe52017-07-06 23:43:37 +030097PCbuild/win32/
Greg Price3e4498d2019-08-14 18:18:53 -070098Tools/unicode/data/
Greg Price455122a2019-09-11 02:25:26 -070099/autom4te.cache
100/build/
101/config.cache
102/config.log
103/config.status
104/config.status.lineno
105/platform
Marco Sulla96a9eed2020-10-26 06:30:51 +0100106/profile-clean-stamp
107/profile-run-stamp
Greg Price455122a2019-09-11 02:25:26 -0700108/pybuilddir.txt
Greg Price5e5e9512019-09-09 02:34:50 -0700109/pyconfig.h
Greg Price455122a2019-09-11 02:25:26 -0700110/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/
Steve Dowerbb240872015-02-05 22:08:48 -0800119Tools/msi/obj
Steve Dower65e4cb12014-11-22 12:54:57 -0800120Tools/ssl/amd64
121Tools/ssl/win32
Greg Price455122a2019-09-11 02:25:26 -0700122
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/