Skip to content

Commit 70a9676

Browse files
committed
chore: ignore .venv and uv.lock in nested plugin directories
Add comprehensive ignore patterns for .venv and uv.lock files in nested directories, particularly plugins/external/opa/. Updated: - .gitignore: Added **/.venv and **/uv.lock patterns - .dockerignore: Added **/.venv and **/uv.lock patterns - MANIFEST.in: Added prune rules and global-exclude patterns - plugins/external/opa/.gitignore: Created for local ignores Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
1 parent 7973bb4 commit 70a9676

File tree

4 files changed

+43
-2
lines changed

4 files changed

+43
-2
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ cython_debug/
109109
#----------------------------------------------------------------------
110110
.env
111111
.venv
112+
.venv/
113+
**/.venv
114+
**/.venv/
112115
env/
113116
venv/
114117
ENV/
@@ -123,6 +126,10 @@ pdm.lock
123126
.pdm.toml
124127
.pdm-python
125128

129+
# uv
130+
uv.lock
131+
**/uv.lock
132+
126133
#----------------------------------------------------------------------
127134
# 5. Package managers and dependencies
128135
#----------------------------------------------------------------------

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,16 @@ logs/
6161
reports/
6262
corpus/
6363
tests/fuzz/fuzzers/results/
64+
65+
# Virtual environments (including nested)
66+
.venv/
6467
.venv
68+
**/.venv/
69+
**/.venv
70+
71+
# uv lock files (including nested)
72+
uv.lock
73+
**/uv.lock
6574
mcp.db
6675
public/
6776
ica_integrations_host.sbom.json

MANIFEST.in

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,15 @@ prune .ruff_cache
133133
prune .mypy_cache
134134
prune htmlcov
135135

136-
# Virtual environments
136+
# Virtual environments (including nested in plugins)
137137
prune venv
138138
prune .venv
139139
prune env
140140
prune node_modules
141+
prune plugins/external/opa/.venv
142+
prune plugins/external/llmguard/.venv
143+
prune plugins/external/cedar/.venv
144+
global-exclude **/.venv/*
141145

142146
# Environment files (security sensitive!)
143147
exclude .env
@@ -150,8 +154,9 @@ exclude *.db
150154
exclude *.sqlite
151155
exclude *.log
152156

153-
# Lock files
157+
# Lock files (including nested in plugins)
154158
exclude uv.lock
159+
global-exclude **/uv.lock
155160

156161
# Coverage data
157162
exclude .coverage

plugins/external/opa/.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Virtual environment
2+
.venv/
3+
.venv
4+
5+
# uv lock file
6+
uv.lock
7+
8+
# Coverage data
9+
.coverage
10+
.coverage.*
11+
htmlcov/
12+
13+
# Build artifacts
14+
*.egg-info/
15+
dist/
16+
build/
17+
18+
# Python cache
19+
__pycache__/
20+
*.py[cod]

0 commit comments

Comments
 (0)