Skip to content

Commit 66f78e0

Browse files
committed
Updating .gitgnore to ignore C++ and Python autogen files
1 parent 6dab5e5 commit 66f78e0

File tree

1 file changed

+192
-0
lines changed

1 file changed

+192
-0
lines changed

.gitignore

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/c++,python,jupyternotebooks
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=c++,python,jupyternotebooks
3+
4+
### C++ ###
15
# Prerequisites
26
*.d
37

@@ -30,3 +34,191 @@
3034
*.exe
3135
*.out
3236
*.app
37+
38+
### JupyterNotebooks ###
39+
# gitignore template for Jupyter Notebooks
40+
# website: http://jupyter.org/
41+
42+
.ipynb_checkpoints
43+
*/.ipynb_checkpoints/*
44+
45+
# IPython
46+
profile_default/
47+
ipython_config.py
48+
49+
# Remove previous ipynb_checkpoints
50+
# git rm -r .ipynb_checkpoints/
51+
52+
### Python ###
53+
# Byte-compiled / optimized / DLL files
54+
__pycache__/
55+
*.py[cod]
56+
*$py.class
57+
58+
# C extensions
59+
60+
# Distribution / packaging
61+
.Python
62+
build/
63+
develop-eggs/
64+
dist/
65+
downloads/
66+
eggs/
67+
.eggs/
68+
lib/
69+
lib64/
70+
parts/
71+
sdist/
72+
var/
73+
wheels/
74+
share/python-wheels/
75+
*.egg-info/
76+
.installed.cfg
77+
*.egg
78+
MANIFEST
79+
80+
# PyInstaller
81+
# Usually these files are written by a python script from a template
82+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
83+
*.manifest
84+
*.spec
85+
86+
# Installer logs
87+
pip-log.txt
88+
pip-delete-this-directory.txt
89+
90+
# Unit test / coverage reports
91+
htmlcov/
92+
.tox/
93+
.nox/
94+
.coverage
95+
.coverage.*
96+
.cache
97+
nosetests.xml
98+
coverage.xml
99+
*.cover
100+
*.py,cover
101+
.hypothesis/
102+
.pytest_cache/
103+
cover/
104+
105+
# Translations
106+
*.mo
107+
*.pot
108+
109+
# Django stuff:
110+
*.log
111+
local_settings.py
112+
db.sqlite3
113+
db.sqlite3-journal
114+
115+
# Flask stuff:
116+
instance/
117+
.webassets-cache
118+
119+
# Scrapy stuff:
120+
.scrapy
121+
122+
# Sphinx documentation
123+
docs/_build/
124+
125+
# PyBuilder
126+
.pybuilder/
127+
target/
128+
129+
# Jupyter Notebook
130+
131+
# IPython
132+
133+
# pyenv
134+
# For a library or package, you might want to ignore these files since the code is
135+
# intended to run in multiple environments; otherwise, check them in:
136+
# .python-version
137+
138+
# pipenv
139+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
140+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
141+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
142+
# install all needed dependencies.
143+
#Pipfile.lock
144+
145+
# poetry
146+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
147+
# This is especially recommended for binary packages to ensure reproducibility, and is more
148+
# commonly ignored for libraries.
149+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
150+
#poetry.lock
151+
152+
# pdm
153+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
154+
#pdm.lock
155+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
156+
# in version control.
157+
# https://pdm.fming.dev/#use-with-ide
158+
.pdm.toml
159+
160+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
161+
__pypackages__/
162+
163+
# Celery stuff
164+
celerybeat-schedule
165+
celerybeat.pid
166+
167+
# SageMath parsed files
168+
*.sage.py
169+
170+
# Environments
171+
.env
172+
.venv
173+
env/
174+
venv/
175+
ENV/
176+
env.bak/
177+
venv.bak/
178+
179+
# Spyder project settings
180+
.spyderproject
181+
.spyproject
182+
183+
# Rope project settings
184+
.ropeproject
185+
186+
# mkdocs documentation
187+
/site
188+
189+
# mypy
190+
.mypy_cache/
191+
.dmypy.json
192+
dmypy.json
193+
194+
# Pyre type checker
195+
.pyre/
196+
197+
# pytype static type analyzer
198+
.pytype/
199+
200+
# Cython debug symbols
201+
cython_debug/
202+
203+
# PyCharm
204+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
205+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
206+
# and can be added to the global gitignore or merged into this file. For a more nuclear
207+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
208+
#.idea/
209+
210+
### Python Patch ###
211+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
212+
poetry.toml
213+
214+
# ruff
215+
.ruff_cache/
216+
217+
# LSP config files
218+
pyrightconfig.json
219+
220+
# End of https://www.toptal.com/developers/gitignore/api/c++,python,jupyternotebooks
221+
222+
# Ignore generate images from datagen tool
223+
tools/datagen/src/imgs/*_grayscale_image*
224+
tools/datagen/src/imgs/*_sobel_*

0 commit comments

Comments
 (0)