diff --git a/spacy/cli/convert.py b/spacy/cli/convert.py index d9a08b385..bd6eaba65 100644 --- a/spacy/cli/convert.py +++ b/spacy/cli/convert.py @@ -1,8 +1,8 @@ # coding: utf8 -from __future__ import unicode_literals, division, print_function +from __future__ import unicode_literals import io -from pathlib import Path, PurePosixPath +from pathlib import Path from .converters import conllu2json from .. import util diff --git a/spacy/cli/converters/conllu2json.py b/spacy/cli/converters/conllu2json.py index e13b7c81c..c3f21cffe 100644 --- a/spacy/cli/converters/conllu2json.py +++ b/spacy/cli/converters/conllu2json.py @@ -1,5 +1,5 @@ # coding: utf8 -from __future__ import unicode_literals, division, print_function +from __future__ import unicode_literals import json from ...gold import read_json_file, merge_sents