Skip to content

Commit 7c243a0

Browse files
committed
Update .gitignore.
1 parent 9f0b3cb commit 7c243a0

File tree

1 file changed

+124
-3
lines changed

1 file changed

+124
-3
lines changed

.gitignore

Lines changed: 124 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
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 ###
153
# Byte-compiled / optimized / DLL files
254
__pycache__/
355
*.py[cod]
@@ -20,7 +72,6 @@ parts/
2072
sdist/
2173
var/
2274
wheels/
23-
pip-wheel-metadata/
2475
share/python-wheels/
2576
*.egg-info/
2677
.installed.cfg
@@ -50,6 +101,7 @@ coverage.xml
50101
*.py,cover
51102
.hypothesis/
52103
.pytest_cache/
104+
cover/
53105

54106
# Translations
55107
*.mo
@@ -72,6 +124,7 @@ instance/
72124
docs/_build/
73125

74126
# PyBuilder
127+
.pybuilder/
75128
target/
76129

77130
# Jupyter Notebook
@@ -82,7 +135,9 @@ profile_default/
82135
ipython_config.py
83136

84137
# 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
86141

87142
# pipenv
88143
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -91,7 +146,22 @@ ipython_config.py
91146
# install all needed dependencies.
92147
#Pipfile.lock
93148

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
95165
__pypackages__/
96166

97167
# Celery stuff
@@ -127,3 +197,54 @@ dmypy.json
127197

128198
# Pyre type checker
129199
.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

Comments
 (0)