Zachary Ware | df935b5 | 2019-09-11 11:31:12 +0100 | [diff] [blame] | 1 | ##### |
2 | # First, rules intended to apply in all subdirectories. | ||||
3 | # These contain no slash, or only a trailing slash. | ||||
Miss Islington (bot) | caf7a30 | 2019-08-27 11:35:11 -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 |
Zachary Ware | df935b5 | 2019-09-11 11:31:12 +0100 | [diff] [blame] | 8 | *.a |
9 | *.so* | ||||
10 | *.dylib | ||||
11 | *.dll | ||||
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 12 | *.orig |
13 | *.pyc | ||||
14 | *.pyd | ||||
15 | *.pyo | ||||
16 | *.rej | ||||
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 17 | *.swp |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 18 | *~ |
Brett Cannon | 7188a3e | 2015-09-18 15:13:44 -0700 | [diff] [blame] | 19 | *.gc?? |
20 | *.profclang? | ||||
21 | *.profraw | ||||
Zachary Ware | 5af8564 | 2015-12-21 12:09:17 -0600 | [diff] [blame] | 22 | *.dyn |
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 23 | .gdb_history |
Zachary Ware | df935b5 | 2019-09-11 11:31:12 +0100 | [diff] [blame] | 24 | .purify |
25 | __pycache__ | ||||
26 | .hg/ | ||||
27 | .svn/ | ||||
28 | .idea/ | ||||
29 | tags | ||||
30 | TAGS | ||||
31 | .vs/ | ||||
32 | .vscode/ | ||||
33 | gmon.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. | ||||
41 | core | ||||
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 Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 49 | Doc/build/ |
Brett Cannon | d5ea39d | 2014-12-05 15:17:31 -0500 | [diff] [blame] | 50 | Doc/venv/ |
Ned Deily | 590665c | 2017-09-07 17:17:53 -0700 | [diff] [blame] | 51 | Doc/.venv/ |
52 | Doc/env/ | ||||
53 | Doc/.env/ | ||||
Ćukasz Langa | 50da40f | 2017-03-10 05:29:43 -0800 | [diff] [blame] | 54 | Include/pydtrace_probes.h |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 55 | Lib/distutils/command/*.pdb |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 56 | Lib/lib2to3/*.pickle |
Andrew Kuchling | 5e03e49 | 2013-06-21 07:44:50 -0400 | [diff] [blame] | 57 | Lib/test/data/* |
Miss Islington (bot) | c837ad4 | 2019-09-09 03:25:04 -0700 | [diff] [blame] | 58 | !Lib/test/data/README |
59 | /Makefile | ||||
Zachary Ware | df935b5 | 2019-09-11 11:31:12 +0100 | [diff] [blame] | 60 | /Makefile.pre |
Victor Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 61 | Misc/python.pc |
Victor Stinner | 0a8e572 | 2019-05-23 03:30:23 +0200 | [diff] [blame] | 62 | Misc/python-embed.pc |
Petri Lehtinen | 4eb9f50 | 2013-02-23 15:35:42 +0100 | [diff] [blame] | 63 | Misc/python-config.sh |
Victor Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 64 | Modules/Setup.config |
65 | Modules/Setup.local | ||||
66 | Modules/config.c | ||||
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 67 | Modules/ld_so_aix |
Nick Coghlan | 973fe0b | 2014-07-25 21:52:14 +1000 | [diff] [blame] | 68 | Programs/_freeze_importlib |
69 | Programs/_testembed | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 70 | PC/python_nt*.h |
71 | PC/pythonnt_rc*.h | ||||
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 72 | PC/*/*.exp |
73 | PC/*/*.lib | ||||
74 | PC/*/*.bsc | ||||
75 | PC/*/*.dll | ||||
76 | PC/*/*.pdb | ||||
77 | PC/*/*.user | ||||
78 | PC/*/*.ncb | ||||
79 | PC/*/*.suo | ||||
80 | PC/*/Win32-temp-* | ||||
81 | PC/*/x64-temp-* | ||||
82 | PC/*/amd64 | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 83 | PCbuild/*.user |
84 | PCbuild/*.suo | ||||
85 | PCbuild/*.*sdf | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 86 | PCbuild/*-pgi |
87 | PCbuild/*-pgo | ||||
Segev Finer | 8e67528 | 2017-04-21 02:32:26 +0300 | [diff] [blame] | 88 | PCbuild/*.VC.db |
89 | PCbuild/*.VC.opendb | ||||
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 90 | PCbuild/amd64/ |
Paul Monson | 8a1657b | 2019-02-14 08:31:30 -0800 | [diff] [blame] | 91 | PCbuild/arm32/ |
Paul Monson | f96e7fd | 2019-05-17 10:07:24 -0700 | [diff] [blame] | 92 | PCbuild/arm64/ |
Zachary Ware | 2eb1a8b | 2015-05-16 22:45:27 -0500 | [diff] [blame] | 93 | PCbuild/obj/ |
Segev Finer | be5ebe5 | 2017-07-06 23:43:37 +0300 | [diff] [blame] | 94 | PCbuild/win32/ |
Zachary Ware | df935b5 | 2019-09-11 11:31:12 +0100 | [diff] [blame] | 95 | /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) | c837ad4 | 2019-09-09 03:25:04 -0700 | [diff] [blame] | 103 | /pyconfig.h |
Zachary Ware | df935b5 | 2019-09-11 11:31:12 +0100 | [diff] [blame] | 104 | /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 Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 113 | Tools/msi/obj |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 114 | Tools/ssl/amd64 |
115 | Tools/ssl/win32 | ||||
Zachary Ware | df935b5 | 2019-09-11 11:31:12 +0100 | [diff] [blame] | 116 | |
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/ |