Auto-format code with black (#9664)

Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-11-12 10:00:03 +01:00 committed by GitHub
parent 24cdd4c88e
commit 67d8c8a081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,10 @@ def create_docbin_reader(
@util.registry.readers("spacy.JsonlCorpus.v1") @util.registry.readers("spacy.JsonlCorpus.v1")
def create_jsonl_reader( def create_jsonl_reader(
path: Optional[Union[str, Path]], min_length: int = 0, max_length: int = 0, limit: int = 0 path: Optional[Union[str, Path]],
min_length: int = 0,
max_length: int = 0,
limit: int = 0,
) -> Callable[["Language"], Iterable[Example]]: ) -> Callable[["Language"], Iterable[Example]]:
return JsonlCorpus(path, min_length=min_length, max_length=max_length, limit=limit) return JsonlCorpus(path, min_length=min_length, max_length=max_length, limit=limit)