Update .gitignore to properly track cache manager code and ignore runtime cache

This commit is contained in:
Pascal BIBEHE 2025-06-04 21:51:33 +02:00
parent 1bd98153a8
commit d364f072fb
2 changed files with 6 additions and 2 deletions

8
.gitignore vendored
View File

@ -2,9 +2,13 @@
.env
#.env.*
# Cache directories
# Ignore all runtime cache data (created at runtime, not code)
cache/
**/cache/
# But DO track the cache manager Python code in the package
!ETF_Portal/ETF_Portal/cache/*.py
!ETF_Portal/ETF_Portal/cache/__init__.py
# Python
__pycache__/

View File