Skip to content

Commit

Permalink
utils/exporter: fix type hint for export()
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Oct 14, 2020
1 parent e78a67b commit b29450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/utils/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def export(
dev=False,
extras=None,
with_credentials=False,
): # type: (str, Path, Union[IO, str], bool, bool, bool) -> None
): # type: (str, Path, Union[IO, str], bool, bool, Optional[Union[bool, Sequence[str]]], bool) -> None
if fmt not in self.ACCEPTED_FORMATS:
raise ValueError("Invalid export format: {}".format(fmt))

Expand Down

0 comments on commit b29450c

Please sign in to comment.