Skip to content

Commit 6e04f10

Browse files
committed
Modify .gitignore
1 parent f10d987 commit 6e04f10

File tree

1 file changed

+79
-3
lines changed

1 file changed

+79
-3
lines changed

.gitignore

Lines changed: 79 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/git,python,visualstudiocode
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=git,python,visualstudiocode
3+
4+
### Git ###
5+
# Created by git for backups. To disable backups in Git:
6+
# $ git config --global mergetool.keepBackup false
7+
*.orig
8+
9+
# Created by git when using merge tools for conflicts
10+
*.BACKUP.*
11+
*.BASE.*
12+
*.LOCAL.*
13+
*.REMOTE.*
14+
*_BACKUP_*.txt
15+
*_BASE_*.txt
16+
*_LOCAL_*.txt
17+
*_REMOTE_*.txt
18+
19+
### Python ###
120
# Byte-compiled / optimized / DLL files
221
__pycache__/
322
*.py[cod]
@@ -20,7 +39,6 @@ parts/
2039
sdist/
2140
var/
2241
wheels/
23-
pip-wheel-metadata/
2442
share/python-wheels/
2543
*.egg-info/
2644
.installed.cfg
@@ -50,6 +68,7 @@ coverage.xml
5068
*.py,cover
5169
.hypothesis/
5270
.pytest_cache/
71+
cover/
5372

5473
# Translations
5574
*.mo
@@ -72,6 +91,7 @@ instance/
7291
docs/_build/
7392

7493
# PyBuilder
94+
.pybuilder/
7595
target/
7696

7797
# Jupyter Notebook
@@ -82,7 +102,9 @@ profile_default/
82102
ipython_config.py
83103

84104
# pyenv
85-
.python-version
105+
# For a library or package, you might want to ignore these files since the code is
106+
# intended to run in multiple environments; otherwise, check them in:
107+
# .python-version
86108

87109
# pipenv
88110
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -91,7 +113,22 @@ ipython_config.py
91113
# install all needed dependencies.
92114
#Pipfile.lock
93115

94-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
116+
# poetry
117+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
118+
# This is especially recommended for binary packages to ensure reproducibility, and is more
119+
# commonly ignored for libraries.
120+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
121+
#poetry.lock
122+
123+
# pdm
124+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
125+
#pdm.lock
126+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
127+
# in version control.
128+
# https://pdm.fming.dev/#use-with-ide
129+
.pdm.toml
130+
131+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
95132
__pypackages__/
96133

97134
# Celery stuff
@@ -127,3 +164,42 @@ dmypy.json
127164

128165
# Pyre type checker
129166
.pyre/
167+
168+
# pytype static type analyzer
169+
.pytype/
170+
171+
# Cython debug symbols
172+
cython_debug/
173+
174+
# PyCharm
175+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
176+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
177+
# and can be added to the global gitignore or merged into this file. For a more nuclear
178+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
179+
#.idea/
180+
181+
### Python Patch ###
182+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
183+
# poetry.toml
184+
185+
186+
### VisualStudioCode ###
187+
.vscode/*
188+
!.vscode/settings.json
189+
!.vscode/tasks.json
190+
!.vscode/launch.json
191+
!.vscode/extensions.json
192+
!.vscode/*.code-snippets
193+
194+
# Local History for Visual Studio Code
195+
.history/
196+
197+
# Built Visual Studio Code Extensions
198+
*.vsix
199+
200+
### VisualStudioCode Patch ###
201+
# Ignore all local history of files
202+
.history
203+
.ionide
204+
205+
# End of https://www.toptal.com/developers/gitignore/api/git,python,visualstudiocode

0 commit comments

Comments
 (0)