We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33c62ba commit d3e7a10Copy full SHA for d3e7a10
mypy/dmypy_server.py
@@ -97,6 +97,10 @@ def process_start_options(flags: List[str]) -> Options:
97
sys.exit("dmypy: start/restart should not specify quick_and_dirty mode")
98
if options.use_fine_grained_cache and not options.fine_grained_incremental:
99
sys.exit("dmypy: fine-grained cache can only be used in experimental mode")
100
+ # Our file change tracking can't yet handle changes to files that aren't
101
+ # specified in the sources list.
102
+ if options.follow_imports not in ('skip', 'error'):
103
+ sys.exit("dmypy: follow-imports must be 'skip' or 'error'")
104
return options
105
106
0 commit comments