Skip to content

Commit bee73a0

Browse files
onlinedilevkivskyi
authored andcommitted
Fix (#6651)
1 parent d08e6e4 commit bee73a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,8 @@ def parse_section(prefix: str, template: Options,
10041004
except ValueError as err:
10051005
print("%s: %s: %s" % (prefix, key, err), file=sys.stderr)
10061006
continue
1007+
if key == 'cache_dir':
1008+
v = os.path.expanduser(v)
10071009
if key == 'silent_imports':
10081010
print("%s: silent_imports has been replaced by "
10091011
"ignore_missing_imports=True; follow_imports=skip" % prefix, file=sys.stderr)

0 commit comments

Comments
 (0)