1
- # As generated from GitHub by Default
1
+ # File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2
+ # Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,python
3
+ # Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,python
2
4
5
+ # ## Python ###
3
6
# Byte-compiled / optimized / DLL files
4
7
__pycache__ /
5
8
* .py [cod ]
22
25
sdist /
23
26
var /
24
27
wheels /
25
- pip-wheel-metadata /
26
28
share /python-wheels /
27
29
* .egg-info /
28
30
.installed.cfg
@@ -52,6 +54,7 @@ coverage.xml
52
54
* .py,cover
53
55
.hypothesis /
54
56
.pytest_cache /
57
+ cover /
55
58
56
59
# Translations
57
60
* .mo
@@ -74,6 +77,7 @@ instance/
74
77
docs /_build /
75
78
76
79
# PyBuilder
80
+ .pybuilder /
77
81
target /
78
82
79
83
# Jupyter Notebook
@@ -84,7 +88,9 @@ profile_default/
84
88
ipython_config.py
85
89
86
90
# pyenv
87
- .python-version
91
+ # For a library or package, you might want to ignore these files since the code is
92
+ # intended to run in multiple environments; otherwise, check them in:
93
+ # .python-version
88
94
89
95
# pipenv
90
96
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -93,7 +99,22 @@ ipython_config.py
93
99
# install all needed dependencies.
94
100
# Pipfile.lock
95
101
96
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow
102
+ # poetry
103
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
104
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
105
+ # commonly ignored for libraries.
106
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
107
+ # poetry.lock
108
+
109
+ # pdm
110
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
111
+ # pdm.lock
112
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
113
+ # in version control.
114
+ # https://pdm.fming.dev/#use-with-ide
115
+ .pdm.toml
116
+
117
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
97
118
__pypackages__ /
98
119
99
120
# Celery stuff
@@ -130,12 +151,52 @@ dmypy.json
130
151
# Pyre type checker
131
152
.pyre /
132
153
133
- # #---------------------------------------------------
134
- # Windows default .gitignore
135
- # #---------------------------------------------------
154
+ # pytype static type analyzer
155
+ .pytype /
136
156
157
+ # Cython debug symbols
158
+ cython_debug /
159
+
160
+ # PyCharm
161
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
162
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
163
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
164
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
165
+ # .idea/
166
+
167
+ # ## Python Patch ###
168
+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
169
+ poetry.toml
170
+
171
+ # ruff
172
+ .ruff_cache /
173
+
174
+ # LSP config files
175
+ pyrightconfig.json
176
+
177
+ # ## VisualStudioCode ###
178
+ .vscode /*
179
+ ! .vscode /settings.json
180
+ ! .vscode /tasks.json
181
+ ! .vscode /launch.json
182
+ ! .vscode /extensions.json
183
+ ! .vscode /* .code-snippets
184
+
185
+ # Local History for Visual Studio Code
186
+ .history /
187
+
188
+ # Built Visual Studio Code Extensions
189
+ * .vsix
190
+
191
+ # ## VisualStudioCode Patch ###
192
+ # Ignore all local history of files
193
+ .history
194
+ .ionide
195
+
196
+ # ## Windows ###
137
197
# Windows thumbnail cache files
138
198
Thumbs.db
199
+ Thumbs.db:encryptable
139
200
ehthumbs.db
140
201
ehthumbs_vista.db
141
202
@@ -158,54 +219,7 @@ $RECYCLE.BIN/
158
219
# Windows shortcuts
159
220
* .lnk
160
221
222
+ # End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,python
161
223
162
- # #---------------------------------------------------
163
- # Linux default .gitignore
164
- # #---------------------------------------------------
165
-
166
- # Editor backup files
167
- * ~
168
-
169
- # temporary files which can be created if a process still has a handle open of a deleted file
170
- .fuse_hidden *
171
-
172
- # KDE directory preferences
173
- .directory
174
-
175
- # Linux trash folder which might appear on any partition or disk
176
- .Trash- *
177
-
178
- # .nfs files are created when an open file is removed but is still being accessed
179
- .nfs *
180
-
181
-
182
- # #---------------------------------------------------
183
- # Mac OSX default .gitignore
184
- # #---------------------------------------------------
185
-
186
- # General
187
- .DS_Store
188
- .AppleDouble
189
- .LSOverride
190
-
191
- # Icon must end with two \r
192
- Icon
193
-
194
- # Thumbnails
195
- ._ *
196
-
197
- # Files that might appear in the root of a volume
198
- .DocumentRevisions-V100
199
- .fseventsd
200
- .Spotlight-V100
201
- .TemporaryItems
202
- .Trashes
203
- .VolumeIcon.icns
204
- .com.apple.timemachine.donotpresent
224
+ # Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
205
225
206
- # Directories potentially created on remote AFP share
207
- .AppleDB
208
- .AppleDesktop
209
- Network Trash Folder
210
- Temporary Items
211
- .apdisk
0 commit comments