Skip to content

Commit

Permalink
Fix cache-convert (python#17974)
Browse files Browse the repository at this point in the history
Tested via:
```
set -x
rm -rf .mypy_cache
time python -m mypy --config-file mypy_self_check.ini -p mypy
python misc/convert-cache.py --to-sqlite .mypy_cache/3.8
time python -m mypy --config-file mypy_self_check.ini -p mypy --sqlite-cache
time python -m mypy --config-file mypy_self_check.ini -p mypy --sqlite-cache
```
  • Loading branch information
hauntsaninja authored Oct 16, 2024
1 parent c1f2db3 commit 6728848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/metastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def list_all(self) -> Iterable[str]:
for dir, _, files in os.walk(self.cache_dir_prefix):
dir = os.path.relpath(dir, self.cache_dir_prefix)
for file in files:
yield os.path.join(dir, file)
yield os.path.normpath(os.path.join(dir, file))


SCHEMA = """
Expand Down

0 comments on commit 6728848

Please sign in to comment.