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__/ # Ignore everything by default
*.pyc *
*.pyo
.venv/ # Recurse into directories
venv/ !*/
*.egg-info/
dist/ # Whitelist: only source code and docs
build/ !*.py
output/ !*.md
.DS_Store !.gitignore