Skip to content

Commit 5f5cb36

Browse files
authored
Merge pull request #16 from contextualizer-ai/improve-gitignore
Improve .gitignore with comprehensive Python and cross-platform patterns
2 parents c8bf9b6 + 46880d4 commit 5f5cb36

1 file changed

Lines changed: 185 additions & 2 deletions

File tree

.gitignore

Lines changed: 185 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# Python
1+
# Byte-compiled / optimized / DLL files
22
__pycache__/
33
*.py[cod]
44
*$py.class
5+
6+
# C extensions
57
*.so
8+
9+
# Distribution / packaging
610
.Python
711
build/
812
develop-eggs/
@@ -16,20 +20,103 @@ parts/
1620
sdist/
1721
var/
1822
wheels/
23+
share/python-wheels/
1924
*.egg-info/
2025
.installed.cfg
2126
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
2238

2339
# Unit test / coverage reports
2440
htmlcov/
2541
.tox/
42+
.nox/
2643
.coverage
2744
.coverage.*
2845
.cache
2946
nosetests.xml
3047
coverage.xml
3148
*.cover
49+
*.py,cover
3250
.hypothesis/
51+
.pytest_cache/
52+
53+
# Translations
54+
*.mo
55+
*.pot
56+
57+
# Django stuff:
58+
*.log
59+
local_settings.py
60+
db.sqlite3
61+
db.sqlite3-journal
62+
63+
# Flask stuff:
64+
instance/
65+
.webassets-cache
66+
67+
# Scrapy stuff:
68+
.scrapy
69+
70+
# Sphinx documentation
71+
docs/_build/
72+
73+
# PyBuilder
74+
.pybuilder/
75+
target/
76+
77+
# Jupyter Notebook
78+
.ipynb_checkpoints
79+
80+
# IPython
81+
profile_default/
82+
ipython_config.py
83+
84+
# pyenv
85+
# For a library or package, you might want to ignore these files since the code is
86+
# intended to run in multiple environments; otherwise, check them in:
87+
# .python-version
88+
89+
# pipenv
90+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
92+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
93+
# install all needed dependencies.
94+
#Pipfile.lock
95+
96+
# poetry
97+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
98+
# This is especially recommended for binary packages to ensure reproducibility, and is more
99+
# commonly ignored for libraries.
100+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
101+
#poetry.lock
102+
103+
# pdm
104+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
105+
#pdm.lock
106+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
107+
# in version control.
108+
# https://pdm.fming.dev/#use-with-ide
109+
.pdm.toml
110+
111+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
112+
__pypackages__/
113+
114+
# Celery stuff
115+
celerybeat-schedule
116+
celerybeat.pid
117+
118+
# SageMath parsed files
119+
*.sage.py
33120

34121
# Environments
35122
.env
@@ -40,8 +127,104 @@ ENV/
40127
env.bak/
41128
venv.bak/
42129

43-
# Editor settings
130+
# Spyder project settings
131+
.spyderproject
132+
.spyproject
133+
134+
# Rope project settings
135+
.ropeproject
136+
137+
# mkdocs documentation
138+
/site
139+
140+
# mypy
141+
.mypy_cache/
142+
.dmypy.json
143+
dmypy.json
144+
145+
# Pyre type checker
146+
.pyre/
147+
148+
# pytype static type analyzer
149+
.pytype/
150+
151+
# Cython debug symbols
152+
cython_debug/
153+
154+
# Ruff cache
155+
.ruff_cache/
156+
157+
# PyCharm
158+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
159+
# be added to the global gitignore or merged into this project gitignore. For a PyCharm
160+
# project, it is not recommended to check in the shared .idea/directory.
44161
.idea/
162+
163+
# VS Code
45164
.vscode/
165+
166+
# Vim
46167
*.swp
47168
*.swo
169+
*~
170+
171+
# Emacs
172+
*~
173+
\#*\#
174+
/.emacs.desktop
175+
/.emacs.desktop.lock
176+
*.elc
177+
auto-save-list
178+
tramp
179+
.\#*
180+
181+
# macOS
182+
.DS_Store
183+
.AppleDouble
184+
.LSOverride
185+
Icon?
186+
._*
187+
.DocumentRevisions-V100
188+
.fseventsd
189+
.Spotlight-V100
190+
.TemporaryItems
191+
.Trashes
192+
.VolumeIcon.icns
193+
.com.apple.timemachine.donotpresent
194+
.AppleDB
195+
.AppleDesktop
196+
Network Trash Folder
197+
Temporary Items
198+
.apdisk
199+
200+
# Windows
201+
Thumbs.db
202+
Thumbs.db:encryptable
203+
ehthumbs.db
204+
ehthumbs_vista.db
205+
*.tmp
206+
*.temp
207+
Desktop.ini
208+
$RECYCLE.BIN/
209+
*.cab
210+
*.msi
211+
*.msix
212+
*.msm
213+
*.msp
214+
*.lnk
215+
216+
# Linux
217+
*~
218+
.fuse_hidden*
219+
.directory
220+
.Trash-*
221+
.nfs*
222+
223+
# Project-specific
224+
# Claude logs and demos
225+
claude-*.log
226+
*.claude.log
227+
228+
# MCP specific
229+
.mcp/
230+
mcp.log

0 commit comments

Comments
 (0)