Skip to content

Commit c24edc3

Browse files
committed
[mypyc] Fix empty only_compile_paths
This got lost in a rebase somewhere
1 parent 64c6c5c commit c24edc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def get_mypy_config(mypy_options: List[str],
8787
) -> Tuple[List[BuildSource], List[BuildSource], Options]:
8888
"""Construct mypy BuildSources and Options from file and options lists"""
8989
all_sources, options = process_options(mypy_options, fscache=fscache)
90-
if only_compile_paths:
90+
if only_compile_paths is not None:
9191
paths_set = set(only_compile_paths)
9292
mypyc_sources = [s for s in all_sources if s.path in paths_set]
9393
else:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy