Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
itajaja committed Sep 24, 2019
1 parent f864ffc commit fafe7a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions black.py
Original file line number Diff line number Diff line change
Expand Up @@ -3409,7 +3409,7 @@ def get_imports_from_children(children: List[LN]) -> Generator[str, None, None]:


def gen_python_files(
paths: [Path],
paths: Iterable[Path],
root: Path,
include: Optional[Pattern[str]],
exclude: Pattern[str],
Expand Down Expand Up @@ -3454,11 +3454,11 @@ def gen_python_files(
def gen_python_files_in_dir(
path: Path,
root: Path,
include: Pattern[str],
include: Optional[Pattern[str]],
exclude: Pattern[str],
report: "Report",
) -> Iterator[Path]:
return gen_python_files(path.iterdir())
return gen_python_files(path.iterdir(), root, include, exclude, report)



Expand Down

0 comments on commit fafe7a7

Please sign in to comment.