chore: switch .gitignore to whitelist mechanism (only .py, .md, .gitignore)

This commit is contained in:
ViperEkura 2026-05-07 14:14:15 +08:00
parent 0018868ee3
commit 6b26ec33ab
1 changed files with 10 additions and 10 deletions

20
.gitignore vendored
View File

@ -1,10 +1,10 @@
__pycache__/
*.pyc
*.pyo
.venv/
venv/
*.egg-info/
dist/
build/
output/
.DS_Store
# Ignore everything by default
*
# Recurse into directories
!*/
# Whitelist: only source code and docs
!*.py
!*.md
!.gitignore