run-mypy: Remove extra exclude quirk for nonexistent "stubs" directory.

This exclusion was getting snuck in at the end bypassing --all (and so
giving the lie to the --help documentation).  There is no "stubs"
directory in the tree in any case.
This commit is contained in:
Greg Price 2017-09-26 14:17:58 -07:00 committed by Greg Price
parent be5b26dc68
commit 8c50f7f8a3
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ if args.all:
files_dict = cast(Dict[str, List[str]], files_dict = cast(Dict[str, List[str]],
lister.list_files(targets=args.targets, ftypes=['py', 'pyi'], lister.list_files(targets=args.targets, ftypes=['py', 'pyi'],
use_shebang=True, modified_only=args.modified, use_shebang=True, modified_only=args.modified,
exclude = exclude + ['stubs'], group_by_ftype=True, exclude=exclude, group_by_ftype=True,
extless_only=args.scripts_only)) extless_only=args.scripts_only))
pyi_files = set(files_dict['pyi']) pyi_files = set(files_dict['pyi'])
python_files = [fpath for fpath in files_dict['py'] python_files = [fpath for fpath in files_dict['py']