-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.huggingfaceignore
More file actions
115 lines (96 loc) · 4.15 KB
/
Copy path.huggingfaceignore
File metadata and controls
115 lines (96 loc) · 4.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# ==============================================================================
# Spectre — Hugging Face Spaces Deploy Ignore
# SINGLE SOURCE OF TRUTH — replaces both .gitignore and .huggingfaceignore
# for the deploy.py upload. Only pure backend + infra files should be uploaded.
# ==============================================================================
# ── Frontend / SDK (NOT part of backend deploy) ──────────────────────────
spectre-frontend/
spectre-snap/
example-client/
poc/
# ── Virtual environment ──────────────────────────────────────────────────
.venv/
venv/
env/
# ── Git ──────────────────────────────────────────────────────────────────
.git/
.gitignore
.gitattributes
# ── Python caches ────────────────────────────────────────────────────────
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
*.egg-info/
.eggs/
# ── Build output ─────────────────────────────────────────────────────────
dist/
build/
# ── Node (shouldn't exist in backend, but just in case) ──────────────────
node_modules/
package.json
package-lock.json
pnpm-lock.yaml
# ── IDE ──────────────────────────────────────────────────────────────────
.vscode/
.idea/
*.swp
*.swo
# ── Environment files (secrets — pushed via deploy.py secrets flow) ──────
.env
.env.local
.env.*.local
.env.spaces
# ── Dev tooling ──────────────────────────────────────────────────────────
.agents/
.conductor/
.gemini/
# ── Testing ──────────────────────────────────────────────────────────────
tests/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/
reports/
# ── Logs & temp ──────────────────────────────────────────────────────────
logs/
*.log
*.tmp
# ── Local database ───────────────────────────────────────────────────────
spectre.db
*.db
# ── Local Docker (HF has its own Dockerfile) ─────────────────────────────
docker-compose*.yml
Dockerfile.local
# ── Dev config (not needed on HF) ────────────────────────────────────────
Makefile
ruff.toml
.python-version
uv.lock
# ── Documentation (not needed on runtime) ────────────────────────────────
Docs/
# ── OS files ─────────────────────────────────────────────────────────────
.DS_Store
Thumbs.db
Desktop.ini
# ── Model weights (large files, handled by HF LFS or downloaded at runtime)
*.bin
*.safetensors
*.pt
*.pth
*.ckpt
.cache/
# ── Deploy script itself ────────────────────────────────────────────────
deploy.py
_verify_deploy.py
clone_scan_feature.py
hf_sec.py
# ── Dev-only directories (not needed at runtime) ────────────────────────
conductor/
kaggle/
scripts/
multimodel/
.kiro/
.github/