Skip to content

Commit

Permalink
Fix (#6651)
Browse files Browse the repository at this point in the history
  • Loading branch information
onlined authored and ilevkivskyi committed Apr 10, 2019
1 parent d08e6e4 commit bee73a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,8 @@ def parse_section(prefix: str, template: Options,
except ValueError as err:
print("%s: %s: %s" % (prefix, key, err), file=sys.stderr)
continue
if key == 'cache_dir':
v = os.path.expanduser(v)
if key == 'silent_imports':
print("%s: silent_imports has been replaced by "
"ignore_missing_imports=True; follow_imports=skip" % prefix, file=sys.stderr)
Expand Down

0 comments on commit bee73a0

Please sign in to comment.