Skip to content

Commit ac4e08f

Browse files
authored
chore: update gitignore (#84)
1 parent 36e265e commit ac4e08f

2 files changed

Lines changed: 120 additions & 28 deletions

File tree

.gitignore

Lines changed: 60 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
super-linter.log
22

3-
# Created by https://www.toptal.com/developers/gitignore/api/vim,emacs,vscode,python,macos,windows
4-
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,emacs,vscode,python,macos,windows
3+
# Created by https://www.toptal.com/developers/gitignore/api/vim,emacs,visualstudiocode,python,macos,windows
4+
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,emacs,visualstudiocode,python,macos,windows
55

66
### Emacs ###
77
# -*- mode: gitignore; -*-
@@ -17,7 +17,6 @@ tramp
1717
# Org-mode
1818
.org-id-locations
1919
*_archive
20-
ltximg/**
2120

2221
# flymake-mode
2322
*_flymake.*
@@ -84,6 +83,10 @@ Network Trash Folder
8483
Temporary Items
8584
.apdisk
8685

86+
### macOS Patch ###
87+
# iCloud generated files
88+
*.icloud
89+
8790
### Python ###
8891
# Byte-compiled / optimized / DLL files
8992
__pycache__/
@@ -106,7 +109,6 @@ parts/
106109
sdist/
107110
var/
108111
wheels/
109-
pip-wheel-metadata/
110112
share/python-wheels/
111113
*.egg-info/
112114
.installed.cfg
@@ -136,7 +138,7 @@ coverage.xml
136138
*.py,cover
137139
.hypothesis/
138140
.pytest_cache/
139-
pytestdebug.log
141+
cover/
140142

141143
# Translations
142144
*.mo
@@ -157,9 +159,9 @@ instance/
157159

158160
# Sphinx documentation
159161
docs/_build/
160-
doc/_build/
161162

162163
# PyBuilder
164+
.pybuilder/
163165
target/
164166

165167
# Jupyter Notebook
@@ -170,7 +172,9 @@ profile_default/
170172
ipython_config.py
171173

172174
# pyenv
173-
.python-version
175+
# For a library or package, you might want to ignore these files since the code is
176+
# intended to run in multiple environments; otherwise, check them in:
177+
# .python-version
174178

175179
# pipenv
176180
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -179,7 +183,22 @@ ipython_config.py
179183
# install all needed dependencies.
180184
#Pipfile.lock
181185

182-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
186+
# poetry
187+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
188+
# This is especially recommended for binary packages to ensure reproducibility, and is more
189+
# commonly ignored for libraries.
190+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
191+
#poetry.lock
192+
193+
# pdm
194+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
195+
#pdm.lock
196+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
197+
# in version control.
198+
# https://pdm.fming.dev/#use-with-ide
199+
.pdm.toml
200+
201+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
183202
__pypackages__/
184203

185204
# Celery stuff
@@ -197,7 +216,6 @@ venv/
197216
ENV/
198217
env.bak/
199218
venv.bak/
200-
pythonenv*
201219

202220
# Spyder project settings
203221
.spyderproject
@@ -220,8 +238,25 @@ dmypy.json
220238
# pytype static type analyzer
221239
.pytype/
222240

223-
# profiling data
224-
.prof
241+
# Cython debug symbols
242+
cython_debug/
243+
244+
# PyCharm
245+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
246+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
247+
# and can be added to the global gitignore or merged into this file. For a more nuclear
248+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
249+
#.idea/
250+
251+
### Python Patch ###
252+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
253+
poetry.toml
254+
255+
# ruff
256+
.ruff_cache/
257+
258+
# LSP config files
259+
pyrightconfig.json
225260

226261
### Vim ###
227262
# Swap
@@ -243,13 +278,24 @@ tags
243278
# Persistent undo
244279
[._]*.un~
245280

246-
### vscode ###
281+
### VisualStudioCode ###
247282
.vscode/*
248283
!.vscode/settings.json
249284
!.vscode/tasks.json
250285
!.vscode/launch.json
251286
!.vscode/extensions.json
252-
*.code-workspace
287+
!.vscode/*.code-snippets
288+
289+
# Local History for Visual Studio Code
290+
.history/
291+
292+
# Built Visual Studio Code Extensions
293+
*.vsix
294+
295+
### VisualStudioCode Patch ###
296+
# Ignore all local history of files
297+
.history
298+
.ionide
253299

254300
### Windows ###
255301
# Windows thumbnail cache files
@@ -277,4 +323,4 @@ $RECYCLE.BIN/
277323
# Windows shortcuts
278324
*.lnk
279325

280-
# End of https://www.toptal.com/developers/gitignore/api/vim,emacs,vscode,python,macos,windows
326+
# End of https://www.toptal.com/developers/gitignore/api/vim,emacs,visualstudiocode,python,macos,windows

{{cookiecutter.project_name|replace(" ", "")}}/.gitignore

Lines changed: 60 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
super-linter.log
22

3-
# Created by https://www.toptal.com/developers/gitignore/api/vim,emacs,vscode,python,macos,windows
4-
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,emacs,vscode,python,macos,windows
3+
# Created by https://www.toptal.com/developers/gitignore/api/vim,emacs,visualstudiocode,python,macos,windows
4+
# Edit at https://www.toptal.com/developers/gitignore?templates=vim,emacs,visualstudiocode,python,macos,windows
55

66
### Emacs ###
77
# -*- mode: gitignore; -*-
@@ -17,7 +17,6 @@ tramp
1717
# Org-mode
1818
.org-id-locations
1919
*_archive
20-
ltximg/**
2120

2221
# flymake-mode
2322
*_flymake.*
@@ -84,6 +83,10 @@ Network Trash Folder
8483
Temporary Items
8584
.apdisk
8685

86+
### macOS Patch ###
87+
# iCloud generated files
88+
*.icloud
89+
8790
### Python ###
8891
# Byte-compiled / optimized / DLL files
8992
__pycache__/
@@ -106,7 +109,6 @@ parts/
106109
sdist/
107110
var/
108111
wheels/
109-
pip-wheel-metadata/
110112
share/python-wheels/
111113
*.egg-info/
112114
.installed.cfg
@@ -136,7 +138,7 @@ coverage.xml
136138
*.py,cover
137139
.hypothesis/
138140
.pytest_cache/
139-
pytestdebug.log
141+
cover/
140142

141143
# Translations
142144
*.mo
@@ -157,9 +159,9 @@ instance/
157159

158160
# Sphinx documentation
159161
docs/_build/
160-
doc/_build/
161162

162163
# PyBuilder
164+
.pybuilder/
163165
target/
164166

165167
# Jupyter Notebook
@@ -170,7 +172,9 @@ profile_default/
170172
ipython_config.py
171173

172174
# pyenv
173-
.python-version
175+
# For a library or package, you might want to ignore these files since the code is
176+
# intended to run in multiple environments; otherwise, check them in:
177+
# .python-version
174178

175179
# pipenv
176180
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -179,7 +183,22 @@ ipython_config.py
179183
# install all needed dependencies.
180184
#Pipfile.lock
181185

182-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
186+
# poetry
187+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
188+
# This is especially recommended for binary packages to ensure reproducibility, and is more
189+
# commonly ignored for libraries.
190+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
191+
#poetry.lock
192+
193+
# pdm
194+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
195+
#pdm.lock
196+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
197+
# in version control.
198+
# https://pdm.fming.dev/#use-with-ide
199+
.pdm.toml
200+
201+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
183202
__pypackages__/
184203

185204
# Celery stuff
@@ -197,7 +216,6 @@ venv/
197216
ENV/
198217
env.bak/
199218
venv.bak/
200-
pythonenv*
201219

202220
# Spyder project settings
203221
.spyderproject
@@ -220,8 +238,25 @@ dmypy.json
220238
# pytype static type analyzer
221239
.pytype/
222240

223-
# profiling data
224-
.prof
241+
# Cython debug symbols
242+
cython_debug/
243+
244+
# PyCharm
245+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
246+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
247+
# and can be added to the global gitignore or merged into this file. For a more nuclear
248+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
249+
#.idea/
250+
251+
### Python Patch ###
252+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
253+
poetry.toml
254+
255+
# ruff
256+
.ruff_cache/
257+
258+
# LSP config files
259+
pyrightconfig.json
225260

226261
### Vim ###
227262
# Swap
@@ -243,13 +278,24 @@ tags
243278
# Persistent undo
244279
[._]*.un~
245280

246-
### vscode ###
281+
### VisualStudioCode ###
247282
.vscode/*
248283
!.vscode/settings.json
249284
!.vscode/tasks.json
250285
!.vscode/launch.json
251286
!.vscode/extensions.json
252-
*.code-workspace
287+
!.vscode/*.code-snippets
288+
289+
# Local History for Visual Studio Code
290+
.history/
291+
292+
# Built Visual Studio Code Extensions
293+
*.vsix
294+
295+
### VisualStudioCode Patch ###
296+
# Ignore all local history of files
297+
.history
298+
.ionide
253299

254300
### Windows ###
255301
# Windows thumbnail cache files
@@ -277,4 +323,4 @@ $RECYCLE.BIN/
277323
# Windows shortcuts
278324
*.lnk
279325

280-
# End of https://www.toptal.com/developers/gitignore/api/vim,emacs,vscode,python,macos,windows
326+
# End of https://www.toptal.com/developers/gitignore/api/vim,emacs,visualstudiocode,python,macos,windows

0 commit comments

Comments
 (0)