blob: a96be67962217e0f45112ec58d450497aa265327 [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/
Miss Islington (bot)e8a43ef2021-08-11 06:06:43 -070038.DS_Store
Greg Price455122a2019-09-11 02:25:26 -070039
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
Victor Stinnerd960fae2010-10-25 17:37:18 +000052Doc/build/
Brett Cannond5ea39d2014-12-05 15:17:31 -050053Doc/venv/
Ned Deily590665c2017-09-07 17:17:53 -070054Doc/.venv/
55Doc/env/
56Doc/.env/
Łukasz Langa50da40f2017-03-10 05:29:43 -080057Include/pydtrace_probes.h
Steve Dower65e4cb12014-11-22 12:54:57 -080058Lib/distutils/command/*.pdb
Victor Stinner7bbc8552010-12-17 22:24:30 +000059Lib/lib2to3/*.pickle
Andrew Kuchling5e03e492013-06-21 07:44:50 -040060Lib/test/data/*
Greg Price5e5e9512019-09-09 02:34:50 -070061!Lib/test/data/README
62/Makefile
Greg Price455122a2019-09-11 02:25:26 -070063/Makefile.pre
Victor Stinnerd960fae2010-10-25 17:37:18 +000064Misc/python.pc
Victor Stinner0a8e5722019-05-23 03:30:23 +020065Misc/python-embed.pc
Petri Lehtinen4eb9f502013-02-23 15:35:42 +010066Misc/python-config.sh
Victor Stinnerd960fae2010-10-25 17:37:18 +000067Modules/Setup.config
68Modules/Setup.local
69Modules/config.c
Victor Stinner7bbc8552010-12-17 22:24:30 +000070Modules/ld_so_aix
Nick Coghlan973fe0b2014-07-25 21:52:14 +100071Programs/_freeze_importlib
72Programs/_testembed
Zachary Ware30270c82014-10-10 23:42:59 -050073PC/python_nt*.h
74PC/pythonnt_rc*.h
Batuhan Taşkaya3955da82020-04-19 21:02:17 +030075Modules/python.exp
Steve Dower65e4cb12014-11-22 12:54:57 -080076PC/*/*.exp
77PC/*/*.lib
78PC/*/*.bsc
79PC/*/*.dll
80PC/*/*.pdb
81PC/*/*.user
82PC/*/*.ncb
83PC/*/*.suo
84PC/*/Win32-temp-*
85PC/*/x64-temp-*
86PC/*/amd64
Zachary Ware30270c82014-10-10 23:42:59 -050087PCbuild/*.user
88PCbuild/*.suo
89PCbuild/*.*sdf
Zachary Ware30270c82014-10-10 23:42:59 -050090PCbuild/*-pgi
91PCbuild/*-pgo
Segev Finer8e675282017-04-21 02:32:26 +030092PCbuild/*.VC.db
93PCbuild/*.VC.opendb
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030094PCbuild/amd64/
Paul Monson8a1657b2019-02-14 08:31:30 -080095PCbuild/arm32/
Paul Monsonf96e7fd2019-05-17 10:07:24 -070096PCbuild/arm64/
Zachary Ware2eb1a8b2015-05-16 22:45:27 -050097PCbuild/obj/
Segev Finerbe5ebe52017-07-06 23:43:37 +030098PCbuild/win32/
Greg Price3e4498d2019-08-14 18:18:53 -070099Tools/unicode/data/
Greg Price455122a2019-09-11 02:25:26 -0700100/autom4te.cache
101/build/
102/config.cache
103/config.log
104/config.status
105/config.status.lineno
106/platform
Marco Sulla96a9eed2020-10-26 06:30:51 +0100107/profile-clean-stamp
108/profile-run-stamp
Greg Price455122a2019-09-11 02:25:26 -0700109/pybuilddir.txt
Greg Price5e5e9512019-09-09 02:34:50 -0700110/pyconfig.h
Greg Price455122a2019-09-11 02:25:26 -0700111/python-config
112/python-config.py
113/python.bat
114/python-gdb.py
115/python.exe-gdb.py
116/reflog.txt
117/coverage/
118/externals/
119/htmlcov/
Steve Dowerbb240872015-02-05 22:08:48 -0800120Tools/msi/obj
Steve Dower65e4cb12014-11-22 12:54:57 -0800121Tools/ssl/amd64
122Tools/ssl/win32
Greg Price455122a2019-09-11 02:25:26 -0700123
124# Two-trick pony for OSX and other case insensitive file systems:
125# Ignore ./python binary on Unix but still look into ./Python/ directory.
126/python
127!/Python/