Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 1 | ##### |
2 | # First, rules intended to apply in all subdirectories. | ||||
3 | # These contain no slash, or only a trailing slash. | ||||
Greg Price | 8c9e9b0 | 2019-08-27 11:16:31 -0700 | [diff] [blame] | 4 | |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 5 | *.cover |
gfyoung | c0fa4ba | 2017-05-24 11:57:37 -0400 | [diff] [blame] | 6 | *.iml |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 7 | *.o |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 8 | *.a |
Anthony Sottile | 1ef4c32 | 2019-11-26 20:54:46 -0800 | [diff] [blame] | 9 | *.so |
10 | *.so.* | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 11 | *.dylib |
12 | *.dll | ||||
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 13 | *.orig |
14 | *.pyc | ||||
15 | *.pyd | ||||
16 | *.pyo | ||||
17 | *.rej | ||||
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 18 | *.swp |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 19 | *~ |
Brett Cannon | 7188a3e | 2015-09-18 15:13:44 -0700 | [diff] [blame] | 20 | *.gc?? |
21 | *.profclang? | ||||
22 | *.profraw | ||||
Zachary Ware | 5af8564 | 2015-12-21 12:09:17 -0600 | [diff] [blame] | 23 | *.dyn |
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 24 | .gdb_history |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 25 | .purify |
26 | __pycache__ | ||||
27 | .hg/ | ||||
28 | .svn/ | ||||
29 | .idea/ | ||||
30 | tags | ||||
31 | TAGS | ||||
32 | .vs/ | ||||
33 | .vscode/ | ||||
34 | gmon.out | ||||
35 | .coverage | ||||
36 | .mypy_cache/ | ||||
Brandt Bucher | 57d3ab8 | 2019-11-15 00:22:41 -0800 | [diff] [blame] | 37 | .pytest_cache/ |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 38 | |
39 | *.exe | ||||
40 | !Lib/distutils/command/*.exe | ||||
41 | |||||
42 | # Ignore core dumps... but not Tools/msi/core/ or the like. | ||||
43 | core | ||||
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 Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 51 | Doc/build/ |
Brett Cannon | d5ea39d | 2014-12-05 15:17:31 -0500 | [diff] [blame] | 52 | Doc/venv/ |
Ned Deily | 590665c | 2017-09-07 17:17:53 -0700 | [diff] [blame] | 53 | Doc/.venv/ |
54 | Doc/env/ | ||||
55 | Doc/.env/ | ||||
Łukasz Langa | 50da40f | 2017-03-10 05:29:43 -0800 | [diff] [blame] | 56 | Include/pydtrace_probes.h |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 57 | Lib/distutils/command/*.pdb |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 58 | Lib/lib2to3/*.pickle |
Andrew Kuchling | 5e03e49 | 2013-06-21 07:44:50 -0400 | [diff] [blame] | 59 | Lib/test/data/* |
Greg Price | 5e5e951 | 2019-09-09 02:34:50 -0700 | [diff] [blame] | 60 | !Lib/test/data/README |
61 | /Makefile | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 62 | /Makefile.pre |
Victor Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 63 | Misc/python.pc |
Victor Stinner | 0a8e572 | 2019-05-23 03:30:23 +0200 | [diff] [blame] | 64 | Misc/python-embed.pc |
Petri Lehtinen | 4eb9f50 | 2013-02-23 15:35:42 +0100 | [diff] [blame] | 65 | Misc/python-config.sh |
Victor Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 66 | Modules/Setup.config |
67 | Modules/Setup.local | ||||
68 | Modules/config.c | ||||
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 69 | Modules/ld_so_aix |
Nick Coghlan | 973fe0b | 2014-07-25 21:52:14 +1000 | [diff] [blame] | 70 | Programs/_freeze_importlib |
71 | Programs/_testembed | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 72 | PC/python_nt*.h |
73 | PC/pythonnt_rc*.h | ||||
Batuhan Taşkaya | 3955da8 | 2020-04-19 21:02:17 +0300 | [diff] [blame] | 74 | Modules/python.exp |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 75 | PC/*/*.exp |
76 | PC/*/*.lib | ||||
77 | PC/*/*.bsc | ||||
78 | PC/*/*.dll | ||||
79 | PC/*/*.pdb | ||||
80 | PC/*/*.user | ||||
81 | PC/*/*.ncb | ||||
82 | PC/*/*.suo | ||||
83 | PC/*/Win32-temp-* | ||||
84 | PC/*/x64-temp-* | ||||
85 | PC/*/amd64 | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 86 | PCbuild/*.user |
87 | PCbuild/*.suo | ||||
88 | PCbuild/*.*sdf | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 89 | PCbuild/*-pgi |
90 | PCbuild/*-pgo | ||||
Segev Finer | 8e67528 | 2017-04-21 02:32:26 +0300 | [diff] [blame] | 91 | PCbuild/*.VC.db |
92 | PCbuild/*.VC.opendb | ||||
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 93 | PCbuild/amd64/ |
Paul Monson | 8a1657b | 2019-02-14 08:31:30 -0800 | [diff] [blame] | 94 | PCbuild/arm32/ |
Paul Monson | f96e7fd | 2019-05-17 10:07:24 -0700 | [diff] [blame] | 95 | PCbuild/arm64/ |
Zachary Ware | 2eb1a8b | 2015-05-16 22:45:27 -0500 | [diff] [blame] | 96 | PCbuild/obj/ |
Segev Finer | be5ebe5 | 2017-07-06 23:43:37 +0300 | [diff] [blame] | 97 | PCbuild/win32/ |
Greg Price | 3e4498d | 2019-08-14 18:18:53 -0700 | [diff] [blame] | 98 | Tools/unicode/data/ |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 99 | /autom4te.cache |
100 | /build/ | ||||
101 | /config.cache | ||||
102 | /config.log | ||||
103 | /config.status | ||||
104 | /config.status.lineno | ||||
105 | /platform | ||||
Marco Sulla | 96a9eed | 2020-10-26 06:30:51 +0100 | [diff] [blame] | 106 | /profile-clean-stamp |
107 | /profile-run-stamp | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 108 | /pybuilddir.txt |
Greg Price | 5e5e951 | 2019-09-09 02:34:50 -0700 | [diff] [blame] | 109 | /pyconfig.h |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 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/ | ||||
Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 119 | Tools/msi/obj |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 120 | Tools/ssl/amd64 |
121 | Tools/ssl/win32 | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 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/ |