chore: Update .gitignore to include additional runtime caches and output files

This commit enhances the .gitignore file by adding entries for runtime caches, TTS/audio outputs, and Python-related files. The changes ensure that unnecessary files are excluded from version control, improving repository cleanliness and reducing clutter.

Changes:
- Added entries for edge_tts_voices_cache.json, *.wav, and *.mp3 files.
- Included Python cache directories and virtual environment folders.
- Retained existing entries for build artifacts and IDE/editor files.
This commit is contained in:
Xin Wang
2026-06-18 13:55:11 +08:00
parent 3d6ef1833e
commit 51dd7f8002

42
.gitignore vendored
View File

@@ -1,22 +1,34 @@
# Secrets and user config
.env .env
.env_backup .env_backup
*.mp3 config/
build/
dist/
settings.json settings.json
resampled_last_output.wav # Runtime caches
temp_speech_output.wav edge_tts_voices_cache.json
esampled_temp_speech_output.wav
last_output.wav
output.wav
**output.wav
.vs # TTS / audio outputs (project root only; assets/ is tracked)
vs/ /*.wav
.zip /*.mp3
config/ # Python
__pycache__/
*.pyc
*.pyo
*.pyd
*$py.class
.venv/
venv/
env/
.pytest_cache/
.mypy_cache/
*.egg-info/
**/__pycache__/ # Build artifacts
**__pycache__** build/
dist/
*.zip
# IDE / editor
.vs/
.claude/