From aec69aacd8ea05d3f6f88247bb663abbf58525ad Mon Sep 17 00:00:00 2001 From: Kabir Khan Date: Sat, 17 Feb 2024 10:07:53 -0800 Subject: [PATCH] ruff --- recon/loaders.py | 3 ++- recon/types.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recon/loaders.py b/recon/loaders.py index a957e84..1a49816 100644 --- a/recon/loaders.py +++ b/recon/loaders.py @@ -8,7 +8,8 @@ import spacy import srsly from spacy.language import Language -from spacy.tokens import Doc, DocBin, Span as SpacySpan +from spacy.tokens import Doc, DocBin +from spacy.tokens import Span as SpacySpan from spacy.util import get_words_and_spaces from recon.types import Example, Span, Token diff --git a/recon/types.py b/recon/types.py index 11a1fb6..1d41164 100644 --- a/recon/types.py +++ b/recon/types.py @@ -19,7 +19,8 @@ from pydantic import BaseModel, field_validator, model_validator from spacy import displacy -from spacy.tokens import Doc, Span as SpacySpan +from spacy.tokens import Doc +from spacy.tokens import Span as SpacySpan from spacy.util import get_words_and_spaces from spacy.vocab import Vocab from wasabi import color