mirror of https://github.com/zulip/zulip.git
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:
parent
be5b26dc68
commit
8c50f7f8a3
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue