1
1
2
- # Created by https://www.gitignore.io/ api/python,windows,visualstudiocode
3
- # Edit at https://www.gitignore.io/ ?templates=python,windows,visualstudiocode
2
+ # Created by https://www.toptal.com/developers/gitignore/ api/python,django,flask,vscode,pycharm,windows
3
+ # Edit at https://www.toptal.com/developers/gitignore ?templates=python,django,flask,vscode,pycharm,windows
4
4
5
- # ## Python ###
6
- # Byte-compiled / optimized / DLL files
5
+ # ## Django ###
6
+ * .log
7
+ * .pot
8
+ * .pyc
7
9
__pycache__ /
10
+ local_settings.py
11
+ db.sqlite3
12
+ db.sqlite3-journal
13
+ media
14
+
15
+ # If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
16
+ # in your Git repository. Update and uncomment the following line accordingly.
17
+ # <django-project-name>/staticfiles/
18
+
19
+ # ## Django.Python Stack ###
20
+ # Byte-compiled / optimized / DLL files
8
21
* .py [cod ]
9
22
* $py.class
10
23
@@ -32,11 +45,6 @@ share/python-wheels/
32
45
* .egg
33
46
MANIFEST
34
47
35
- # python venv
36
- Scripts /
37
- Include /
38
- Lib /
39
-
40
48
# PyInstaller
41
49
# Usually these files are written by a python script from a template
42
50
# before PyInstaller builds the exe, so as to inject date/other infos into it.
@@ -57,22 +65,37 @@ htmlcov/
57
65
nosetests.xml
58
66
coverage.xml
59
67
* .cover
68
+ * .py,cover
60
69
.hypothesis /
61
70
.pytest_cache /
71
+ pytestdebug.log
62
72
63
73
# Translations
64
74
* .mo
65
- * .pot
75
+
76
+ # Django stuff:
77
+
78
+ # Flask stuff:
79
+ instance /
80
+ .webassets-cache
66
81
67
82
# Scrapy stuff:
68
83
.scrapy
69
84
70
85
# Sphinx documentation
71
86
docs /_build /
87
+ doc /_build /
72
88
73
89
# PyBuilder
74
90
target /
75
91
92
+ # Jupyter Notebook
93
+ .ipynb_checkpoints
94
+
95
+ # IPython
96
+ profile_default /
97
+ ipython_config.py
98
+
76
99
# pyenv
77
100
.python-version
78
101
@@ -83,24 +106,33 @@ target/
83
106
# install all needed dependencies.
84
107
# Pipfile.lock
85
108
86
- # celery beat schedule file
109
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
110
+ __pypackages__ /
111
+
112
+ # Celery stuff
87
113
celerybeat-schedule
114
+ celerybeat.pid
88
115
89
116
# SageMath parsed files
90
117
* .sage.py
91
118
119
+ # Environments
120
+ .env
121
+ .venv
122
+ env /
123
+ venv /
124
+ ENV /
125
+ env.bak /
126
+ venv.bak /
127
+ pythonenv *
128
+
92
129
# Spyder project settings
93
130
.spyderproject
94
131
.spyproject
95
132
96
133
# Rope project settings
97
134
.ropeproject
98
135
99
- # Mr Developer
100
- .mr.developer.cfg
101
- .project
102
- .pydevproject
103
-
104
136
# mkdocs documentation
105
137
/site
106
138
@@ -112,16 +144,248 @@ dmypy.json
112
144
# Pyre type checker
113
145
.pyre /
114
146
115
- # ## VisualStudioCode ###
147
+ # pytype static type analyzer
148
+ .pytype /
149
+
150
+ # profiling data
151
+ .prof
152
+
153
+ # ## Flask ###
154
+ instance /*
155
+ ! instance /.gitignore
156
+
157
+ # ## Flask.Python Stack ###
158
+ # Byte-compiled / optimized / DLL files
159
+
160
+ # C extensions
161
+
162
+ # Distribution / packaging
163
+
164
+ # PyInstaller
165
+ # Usually these files are written by a python script from a template
166
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
167
+
168
+ # Installer logs
169
+
170
+ # Unit test / coverage reports
171
+
172
+ # Translations
173
+
174
+ # Django stuff:
175
+
176
+ # Flask stuff:
177
+
178
+ # Scrapy stuff:
179
+
180
+ # Sphinx documentation
181
+
182
+ # PyBuilder
183
+
184
+ # Jupyter Notebook
185
+
186
+ # IPython
187
+
188
+ # pyenv
189
+
190
+ # pipenv
191
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
192
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
193
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
194
+ # install all needed dependencies.
195
+
196
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
197
+
198
+ # Celery stuff
199
+
200
+ # SageMath parsed files
201
+
202
+ # Environments
203
+
204
+ # Spyder project settings
205
+
206
+ # Rope project settings
207
+
208
+ # mkdocs documentation
209
+
210
+ # mypy
211
+
212
+ # Pyre type checker
213
+
214
+ # pytype static type analyzer
215
+
216
+ # profiling data
217
+
218
+ # ## PyCharm ###
219
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
220
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
221
+
222
+ # User-specific stuff
223
+ .idea /** /workspace.xml
224
+ .idea /** /tasks.xml
225
+ .idea /** /usage.statistics.xml
226
+ .idea /** /dictionaries
227
+ .idea /** /shelf
228
+
229
+ # Generated files
230
+ .idea /** /contentModel.xml
231
+
232
+ # Sensitive or high-churn files
233
+ .idea /** /dataSources /
234
+ .idea /** /dataSources.ids
235
+ .idea /** /dataSources.local.xml
236
+ .idea /** /sqlDataSources.xml
237
+ .idea /** /dynamic.xml
238
+ .idea /** /uiDesigner.xml
239
+ .idea /** /dbnavigator.xml
240
+
241
+ # Gradle
242
+ .idea /** /gradle.xml
243
+ .idea /** /libraries
244
+
245
+ # Gradle and Maven with auto-import
246
+ # When using Gradle or Maven with auto-import, you should exclude module files,
247
+ # since they will be recreated, and may cause churn. Uncomment if using
248
+ # auto-import.
249
+ # .idea/artifacts
250
+ # .idea/compiler.xml
251
+ # .idea/jarRepositories.xml
252
+ # .idea/modules.xml
253
+ # .idea/*.iml
254
+ # .idea/modules
255
+ # *.iml
256
+ # *.ipr
257
+
258
+ # CMake
259
+ cmake-build- * /
260
+
261
+ # Mongo Explorer plugin
262
+ .idea /** /mongoSettings.xml
263
+
264
+ # File-based project format
265
+ * .iws
266
+
267
+ # IntelliJ
268
+ out /
269
+
270
+ # mpeltonen/sbt-idea plugin
271
+ .idea_modules /
272
+
273
+ # JIRA plugin
274
+ atlassian-ide-plugin.xml
275
+
276
+ # Cursive Clojure plugin
277
+ .idea /replstate.xml
278
+
279
+ # Crashlytics plugin (for Android Studio and IntelliJ)
280
+ com_crashlytics_export_strings.xml
281
+ crashlytics.properties
282
+ crashlytics-build.properties
283
+ fabric.properties
284
+
285
+ # Editor-based Rest Client
286
+ .idea /httpRequests
287
+
288
+ # Android studio 3.1+ serialized cache file
289
+ .idea /caches /build_file_checksums.ser
290
+
291
+ # ## PyCharm Patch ###
292
+ # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
293
+
294
+ # *.iml
295
+ # modules.xml
296
+ # .idea/misc.xml
297
+ # *.ipr
298
+
299
+ # Sonarlint plugin
300
+ # https://plugins.jetbrains.com/plugin/7973-sonarlint
301
+ .idea /** /sonarlint /
302
+
303
+ # SonarQube Plugin
304
+ # https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
305
+ .idea /** /sonarIssues.xml
306
+
307
+ # Markdown Navigator plugin
308
+ # https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
309
+ .idea /** /markdown-navigator.xml
310
+ .idea /** /markdown-navigator-enh.xml
311
+ .idea /** /markdown-navigator /
312
+
313
+ # Cache file creation bug
314
+ # See https://youtrack.jetbrains.com/issue/JBR-2257
315
+ .idea /$CACHE_FILE$
316
+
317
+ # CodeStream plugin
318
+ # https://plugins.jetbrains.com/plugin/12206-codestream
319
+ .idea /codestream.xml
320
+
321
+ # ## Python ###
322
+ # Byte-compiled / optimized / DLL files
323
+
324
+ # C extensions
325
+
326
+ # Distribution / packaging
327
+
328
+ # PyInstaller
329
+ # Usually these files are written by a python script from a template
330
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
331
+
332
+ # Installer logs
333
+
334
+ # Unit test / coverage reports
335
+
336
+ # Translations
337
+
338
+ # Django stuff:
339
+
340
+ # Flask stuff:
341
+
342
+ # Scrapy stuff:
343
+
344
+ # Sphinx documentation
345
+
346
+ # PyBuilder
347
+
348
+ # Jupyter Notebook
349
+
350
+ # IPython
351
+
352
+ # pyenv
353
+
354
+ # pipenv
355
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
356
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
357
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
358
+ # install all needed dependencies.
359
+
360
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
361
+
362
+ # Celery stuff
363
+
364
+ # SageMath parsed files
365
+
366
+ # Environments
367
+
368
+ # Spyder project settings
369
+
370
+ # Rope project settings
371
+
372
+ # mkdocs documentation
373
+
374
+ # mypy
375
+
376
+ # Pyre type checker
377
+
378
+ # pytype static type analyzer
379
+
380
+ # profiling data
381
+
382
+ # ## vscode ###
116
383
.vscode /*
117
384
! .vscode /settings.json
118
385
! .vscode /tasks.json
119
386
! .vscode /launch.json
120
387
! .vscode /extensions.json
121
-
122
- # ## VisualStudioCode Patch ###
123
- # Ignore all local history of files
124
- .history
388
+ * .code-workspace
125
389
126
390
# ## Windows ###
127
391
# Windows thumbnail cache files
@@ -149,4 +413,4 @@ $RECYCLE.BIN/
149
413
# Windows shortcuts
150
414
* .lnk
151
415
152
- # End of https://www.gitignore.io/ api/python,windows,visualstudiocode
416
+ # End of https://www.toptal.com/developers/gitignore/ api/python,django,flask,vscode,pycharm,windows
0 commit comments