1
+ # Created by https://www.toptal.com/developers/gitignore/api/python,macos,windows,linux
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=python,macos,windows,linux
3
+
4
+ # ## Linux ###
5
+ * ~
6
+
7
+ # temporary files which can be created if a process still has a handle open of a deleted file
8
+ .fuse_hidden *
9
+
10
+ # KDE directory preferences
11
+ .directory
12
+
13
+ # Linux trash folder which might appear on any partition or disk
14
+ .Trash- *
15
+
16
+ # .nfs files are created when an open file is removed but is still being accessed
17
+ .nfs *
18
+
19
+ # ## macOS ###
20
+ # General
21
+ .DS_Store
22
+ .AppleDouble
23
+ .LSOverride
24
+
25
+ # Icon must end with two \r
26
+ Icon
27
+
28
+
29
+ # Thumbnails
30
+ ._ *
31
+
32
+ # Files that might appear in the root of a volume
33
+ .DocumentRevisions-V100
34
+ .fseventsd
35
+ .Spotlight-V100
36
+ .TemporaryItems
37
+ .Trashes
38
+ .VolumeIcon.icns
39
+ .com.apple.timemachine.donotpresent
40
+
41
+ # Directories potentially created on remote AFP share
42
+ .AppleDB
43
+ .AppleDesktop
44
+ Network Trash Folder
45
+ Temporary Items
46
+ .apdisk
47
+
48
+ # ## macOS Patch ###
49
+ # iCloud generated files
50
+ * .icloud
51
+
52
+ # ## Python ###
1
53
# Byte-compiled / optimized / DLL files
2
54
__pycache__ /
3
55
* .py [cod ]
20
72
sdist /
21
73
var /
22
74
wheels /
23
- pip-wheel-metadata /
24
75
share /python-wheels /
25
76
* .egg-info /
26
77
.installed.cfg
@@ -50,6 +101,7 @@ coverage.xml
50
101
* .py,cover
51
102
.hypothesis /
52
103
.pytest_cache /
104
+ cover /
53
105
54
106
# Translations
55
107
* .mo
@@ -72,6 +124,7 @@ instance/
72
124
docs /_build /
73
125
74
126
# PyBuilder
127
+ .pybuilder /
75
128
target /
76
129
77
130
# Jupyter Notebook
@@ -82,7 +135,9 @@ profile_default/
82
135
ipython_config.py
83
136
84
137
# pyenv
85
- .python-version
138
+ # For a library or package, you might want to ignore these files since the code is
139
+ # intended to run in multiple environments; otherwise, check them in:
140
+ # .python-version
86
141
87
142
# pipenv
88
143
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -91,7 +146,22 @@ ipython_config.py
91
146
# install all needed dependencies.
92
147
# Pipfile.lock
93
148
94
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow
149
+ # poetry
150
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
151
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
152
+ # commonly ignored for libraries.
153
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
154
+ # poetry.lock
155
+
156
+ # pdm
157
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
158
+ # pdm.lock
159
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
160
+ # in version control.
161
+ # https://pdm.fming.dev/#use-with-ide
162
+ .pdm.toml
163
+
164
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
95
165
__pypackages__ /
96
166
97
167
# Celery stuff
@@ -127,3 +197,54 @@ dmypy.json
127
197
128
198
# Pyre type checker
129
199
.pyre /
200
+
201
+ # pytype static type analyzer
202
+ .pytype /
203
+
204
+ # Cython debug symbols
205
+ cython_debug /
206
+
207
+ # PyCharm
208
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
209
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
210
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
211
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
212
+ # .idea/
213
+
214
+ # ## Python Patch ###
215
+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
216
+ poetry.toml
217
+
218
+ # ruff
219
+ .ruff_cache /
220
+
221
+ # LSP config files
222
+ pyrightconfig.json
223
+
224
+ # ## Windows ###
225
+ # Windows thumbnail cache files
226
+ Thumbs.db
227
+ Thumbs.db:encryptable
228
+ ehthumbs.db
229
+ ehthumbs_vista.db
230
+
231
+ # Dump file
232
+ * .stackdump
233
+
234
+ # Folder config file
235
+ [Dd ]esktop.ini
236
+
237
+ # Recycle Bin used on file shares
238
+ $RECYCLE.BIN /
239
+
240
+ # Windows Installer files
241
+ * .cab
242
+ * .msi
243
+ * .msix
244
+ * .msm
245
+ * .msp
246
+
247
+ # Windows shortcuts
248
+ * .lnk
249
+
250
+ # End of https://www.toptal.com/developers/gitignore/api/python,macos,windows,linux
0 commit comments