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 64c6c5c commit c24edc3Copy full SHA for c24edc3
mypyc/build.py
@@ -87,7 +87,7 @@ def get_mypy_config(mypy_options: List[str],
87
) -> Tuple[List[BuildSource], List[BuildSource], Options]:
88
"""Construct mypy BuildSources and Options from file and options lists"""
89
all_sources, options = process_options(mypy_options, fscache=fscache)
90
- if only_compile_paths:
+ if only_compile_paths is not None:
91
paths_set = set(only_compile_paths)
92
mypyc_sources = [s for s in all_sources if s.path in paths_set]
93
else:
0 commit comments