diff --git a/.gitignore b/.gitignore index 81711ff..94ecffa 100644 --- a/.gitignore +++ b/.gitignore @@ -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__/ diff --git a/ETF_Portal/ETF_Portal/cache/__init__.py b/ETF_Portal/ETF_Portal/cache/__init__.py new file mode 100644 index 0000000..e69de29