Refine gitignore to only exclude root-level test files
(cherry picked from commit a790f081dc)
This commit is contained in:
parent
8650307e65
commit
35dd68d767
1 changed files with 12 additions and 46 deletions
58
.gitignore
vendored
58
.gitignore
vendored
|
|
@ -9,23 +9,10 @@ __pycache__/
|
|||
|
||||
# Virtual Environment
|
||||
.venv/
|
||||
env/
|
||||
venv/
|
||||
*.env*
|
||||
.env_example
|
||||
|
||||
# BUILT web UI assets
|
||||
# When building the UI in CI, the build artifacts are generated by Vite
|
||||
# and are not source-controlled.
|
||||
lightrag_webui/dist/
|
||||
lightrag_webui/build/
|
||||
|
||||
# When using the python API embedded UI, ignore generated JS & CSS
|
||||
lightrag/api/webui/assets/*.js
|
||||
lightrag/api/webui/assets/*.js.map
|
||||
lightrag/api/webui/assets/*.css
|
||||
# Ignore the whole assets directory (build artifacts / vendor bundles)
|
||||
lightrag/api/webui/assets/
|
||||
# Enviroment Variable Files
|
||||
.env
|
||||
|
||||
# Build / Distribution
|
||||
dist/
|
||||
|
|
@ -48,20 +35,6 @@ log/
|
|||
.history/
|
||||
temp/
|
||||
|
||||
# Model weights and caches (do not commit large models or checkpoints)
|
||||
models/
|
||||
checkpoints/
|
||||
weights/
|
||||
*.ckpt
|
||||
*.pt
|
||||
*.bin
|
||||
*.safetensors
|
||||
*.h5
|
||||
model_cache/
|
||||
.cache/huggingface/
|
||||
transformers_cache/
|
||||
huggingface/
|
||||
|
||||
# IDE / Editor Files
|
||||
.idea/
|
||||
.vscode/
|
||||
|
|
@ -73,19 +46,12 @@ neo4jWorkDir/
|
|||
|
||||
# Data & Storage
|
||||
inputs/
|
||||
output/
|
||||
rag_storage/
|
||||
examples/input/
|
||||
examples/output/
|
||||
output*/
|
||||
data/
|
||||
|
||||
.coverage
|
||||
coverage.xml
|
||||
htmlcov/
|
||||
.ipynb_checkpoints/
|
||||
.pytype/
|
||||
pip-wheel-metadata/
|
||||
pip-log.txt
|
||||
# Evaluation results
|
||||
lightrag/evaluation/results/
|
||||
|
||||
# Miscellaneous
|
||||
.DS_Store
|
||||
|
|
@ -94,15 +60,15 @@ ignore_this.txt
|
|||
*.ignore.*
|
||||
|
||||
# Project-specific files
|
||||
dickens*/
|
||||
book.txt
|
||||
LightRAG.pdf
|
||||
/dickens*/
|
||||
/book.txt
|
||||
download_models_hf.py
|
||||
lightrag-dev/
|
||||
gui/
|
||||
|
||||
# unit-test files
|
||||
# Frontend build output (built during PyPI release)
|
||||
/lightrag/api/webui/
|
||||
|
||||
# temporary test files in project root
|
||||
/test_*
|
||||
|
||||
# Cline files
|
||||
memory-bank
|
||||
memory-bank/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue