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
24
5+ # ## Python ###
36# Byte-compiled / optimized / DLL files
47__pycache__ /
58* .py [cod ]
2225sdist /
2326var /
2427wheels /
25- pip-wheel-metadata /
2628share /python-wheels /
2729* .egg-info /
2830.installed.cfg
@@ -52,6 +54,7 @@ coverage.xml
5254* .py,cover
5355.hypothesis /
5456.pytest_cache /
57+ cover /
5558
5659# Translations
5760* .mo
@@ -74,6 +77,7 @@ instance/
7477docs /_build /
7578
7679# PyBuilder
80+ .pybuilder /
7781target /
7882
7983# Jupyter Notebook
@@ -84,7 +88,9 @@ profile_default/
8488ipython_config.py
8589
8690# 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
8894
8995# pipenv
9096# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -93,7 +99,22 @@ ipython_config.py
9399# install all needed dependencies.
94100# Pipfile.lock
95101
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
97118__pypackages__ /
98119
99120# Celery stuff
@@ -130,12 +151,52 @@ dmypy.json
130151# Pyre type checker
131152.pyre /
132153
133- # #---------------------------------------------------
134- # Windows default .gitignore
135- # #---------------------------------------------------
154+ # pytype static type analyzer
155+ .pytype /
136156
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 ###
137197# Windows thumbnail cache files
138198Thumbs.db
199+ Thumbs.db:encryptable
139200ehthumbs.db
140201ehthumbs_vista.db
141202
@@ -158,54 +219,7 @@ $RECYCLE.BIN/
158219# Windows shortcuts
159220* .lnk
160221
222+ # End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,python
161223
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)
205225
206- # Directories potentially created on remote AFP share
207- .AppleDB
208- .AppleDesktop
209- Network Trash Folder
210- Temporary Items
211- .apdisk
0 commit comments