]> git.ipfire.org Git - thirdparty/Python/cpython.git/blob - .gitignore
gh-124213: Skip tests failing inside systemd-nspawn --suppress-sync=true (#124215)
[thirdparty/Python/cpython.git] / .gitignore
1 #####
2 # First, rules intended to apply in all subdirectories.
3 # These contain no slash, or only a trailing slash.
4
5 *.cover
6 *.iml
7 *.o
8 *.lto
9 *.a
10 *.so
11 *.so.*
12 *.dylib
13 *.dSYM
14 *.dll
15 *.wasm
16 *.orig
17 *.pyc
18 *.pyd
19 *.pyo
20 *.rej
21 *.swp
22 *~
23 *.gc??
24 *.profclang?
25 *.profraw
26 # Copies of binaries before BOLT optimizations.
27 *.prebolt
28 # BOLT profile data.
29 *.fdata
30 *.dyn
31 .gdb_history
32 .purify
33 __pycache__
34 .hg/
35 .svn/
36 .idea/
37 tags
38 TAGS
39 .vs/
40 .vscode/
41 gmon.out
42 .coverage
43 .mypy_cache/
44 .pytest_cache/
45 .ruff_cache/
46 .DS_Store
47
48 *.exe
49
50 # Ignore core dumps... but not Tools/msi/core/ or the like.
51 core
52 !core/
53
54
55 #####
56 # Then, rules meant for a specific location relative to the repo root.
57 # These must contain a non-trailing slash (and may also have a trailing slash.)
58
59 Doc/build/
60 Doc/venv/
61 Doc/.venv/
62 Doc/env/
63 Doc/.env/
64 Include/pydtrace_probes.h
65 Lib/site-packages/*
66 !Lib/site-packages/README.txt
67 Lib/test/data/*
68 !Lib/test/data/README
69 /_bootstrap_python
70 /Makefile
71 /Makefile.pre
72 /iOSTestbed.*
73 iOS/Frameworks/
74 iOS/Resources/Info.plist
75 iOS/testbed/build
76 iOS/testbed/Python.xcframework/ios-*/bin
77 iOS/testbed/Python.xcframework/ios-*/include
78 iOS/testbed/Python.xcframework/ios-*/lib
79 iOS/testbed/Python.xcframework/ios-*/Python.framework
80 iOS/testbed/iOSTestbed.xcodeproj/project.xcworkspace
81 iOS/testbed/iOSTestbed.xcodeproj/xcuserdata
82 iOS/testbed/iOSTestbed.xcodeproj/xcshareddata
83 Mac/Makefile
84 Mac/PythonLauncher/Info.plist
85 Mac/PythonLauncher/Makefile
86 Mac/PythonLauncher/Python Launcher
87 Mac/PythonLauncher/Python Launcher.app/*
88 Mac/Resources/app/Info.plist
89 Mac/Resources/framework/Info.plist
90 Mac/pythonw
91 /*.framework/
92 Misc/python.pc
93 Misc/python-embed.pc
94 Misc/python-config.sh
95 Modules/Setup.bootstrap
96 Modules/Setup.config
97 Modules/Setup.local
98 Modules/Setup.stdlib
99 Modules/config.c
100 Modules/ld_so_aix
101 Programs/_freeze_module
102 Programs/_testembed
103 PC/python_nt*.h
104 PC/pythonnt_rc*.h
105 Modules/python.exp
106 PC/*/*.exp
107 PC/*/*.lib
108 PC/*/*.bsc
109 PC/*/*.dll
110 PC/*/*.pdb
111 PC/*/*.user
112 PC/*/*.ncb
113 PC/*/*.suo
114 PC/*/Win32-temp-*
115 PC/*/x64-temp-*
116 PC/*/amd64
117 PCbuild/*.user
118 PCbuild/*.suo
119 PCbuild/*.*sdf
120 PCbuild/*-pgi
121 PCbuild/*-pgo
122 PCbuild/*.VC.db
123 PCbuild/*.VC.opendb
124 PCbuild/amd64/
125 PCbuild/arm32/
126 PCbuild/arm64/
127 PCbuild/obj/
128 PCbuild/win32/
129 Tools/unicode/data/
130 /autom4te.cache
131 /build/
132 /builddir/
133 /config.cache
134 /config.log
135 /config.status
136 /config.status.lineno
137 # hendrikmuhs/ccache-action@v1
138 /.ccache
139 /cross-build/
140 /jit_stencils.h
141 /platform
142 /profile-clean-stamp
143 /profile-run-stamp
144 /profile-bolt-stamp
145 /pybuilddir.txt
146 /pyconfig.h
147 /python-config
148 /python-config.py
149 /python.bat
150 /python-gdb.py
151 /python.exe-gdb.py
152 /reflog.txt
153 /coverage/
154 /externals/
155 /htmlcov/
156 Tools/msi/obj
157 Tools/ssl/amd64
158 Tools/ssl/win32
159 Tools/freeze/test/outdir
160
161 # The frozen modules are always generated by the build so we don't
162 # keep them in the repo. Also see Tools/build/freeze_modules.py.
163 Python/frozen_modules/*.h
164 # The manifest can be generated at any time with "make regen-frozen".
165 Python/frozen_modules/MANIFEST
166
167 # Two-trick pony for OSX and other case insensitive file systems:
168 # Ignore ./python binary on Unix but still look into ./Python/ directory.
169 /python
170 !/Python/
171
172 # main branch only: ABI files are not checked/maintained.
173 Doc/data/python*.abi