https://github.com/mondeja/flakeheaven-cache-bug
https://github.com/mondeja/flakeheaven-cache-bug
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mondeja/flakeheaven-cache-bug
- Owner: mondeja
- Created: 2022-12-22T14:05:09.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T14:27:56.000Z (almost 3 years ago)
- Last Synced: 2025-02-13T20:17:53.623Z (8 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cache bug in flakeheaven
## How to reproduce (Unix)
```
python3 -m virtualenv venv
. venv/bin/activate
pip install -r requirements.txt# the next command will fail
flakeheaven lint file.py
# so change the configuration to make it pass
sed -i s/false/true/ pyproject.toml
# and run it again, doesn't work
flakeheaven lint file.py# but if you disable the cache, it works
pysetenv FLAKEHEAVEN_CACHE_TIMEOUT=0 flakeheaven lint file.py
```Perhaps the cache is not invalidated when the configuration of
*pyproject.toml* changes?