- Create test directory structure for backend - Add pytest fixtures for test files (PDF, images, Office docs) - Add 20 unit tests covering: - PDF type detection (editable, scanned, mixed) - Image file detection (PNG, JPG) - Office document detection (DOCX) - Text file detection - Edge cases (file not found, unknown types) - Batch processing and statistics - Mark tasks 1.1.4 and 1.3.5 as completed in tasks.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
103 lines
1.1 KiB
Plaintext
103 lines
1.1 KiB
Plaintext
# Tool_OCR - Git Ignore Configuration
|
|
|
|
# ===== Python =====
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# ===== Virtual Environments =====
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv
|
|
|
|
# ===== Conda =====
|
|
.conda/
|
|
|
|
# ===== IDE =====
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
|
|
# ===== Environment Variables =====
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# ===== Logs =====
|
|
logs/
|
|
*.log
|
|
|
|
# ===== Uploads and Temporary Files =====
|
|
uploads/
|
|
storage/
|
|
temp/
|
|
|
|
# ===== Models =====
|
|
models/paddleocr/*
|
|
models/argostranslate/*
|
|
!models/.gitkeep
|
|
|
|
# ===== Database =====
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# ===== Testing =====
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
|
|
# ===== Frontend =====
|
|
node_modules/
|
|
dist/
|
|
.cache/
|
|
.parcel-cache/
|
|
.next/
|
|
out/
|
|
build/
|
|
|
|
# ===== macOS =====
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
|
|
# ===== Linux =====
|
|
.directory
|
|
|
|
# ===== Windows =====
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
|
|
# Test and temporary files
|
|
backend/uploads/*
|
|
storage/uploads/*
|
|
storage/results/*
|
|
*.log
|
|
__pycache__/
|
|
*.bak
|
|
# Ignore temporary test files in root, but allow backend/tests/
|
|
test_*.py
|
|
!backend/tests/**/test_*.py
|