diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-05-31 17:31:57 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-05-31 17:31:57 -0700 |
commit | 8ae5d2945a97a8f4385f301a73c3baaf0d7e1eb4 (patch) | |
tree | 2fc88252a960a5db117d32ec3c47f6e74c36cbdc | |
parent | a4a03cfc0677149cbe469e0b921a3bf66899c837 (diff) | |
download | fuzzycat-8ae5d2945a97a8f4385f301a73c3baaf0d7e1eb4.tar.gz fuzzycat-8ae5d2945a97a8f4385f301a73c3baaf0d7e1eb4.zip |
lint: remove unused imports
-rw-r--r-- | fuzzycat/__main__.py | 1 | ||||
-rw-r--r-- | fuzzycat/cluster.py | 3 | ||||
-rw-r--r-- | fuzzycat/grobid_unstructured.py | 2 | ||||
-rw-r--r-- | fuzzycat/matching.py | 1 | ||||
-rw-r--r-- | fuzzycat/refs.py | 2 | ||||
-rw-r--r-- | fuzzycat/utils.py | 1 | ||||
-rw-r--r-- | tests/test_matching.py | 1 |
7 files changed, 1 insertions, 10 deletions
diff --git a/fuzzycat/__main__.py b/fuzzycat/__main__.py index 43691e8..10c856d 100644 --- a/fuzzycat/__main__.py +++ b/fuzzycat/__main__.py @@ -60,7 +60,6 @@ import io import json import logging import pstats -import random import sys import tempfile diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py index d859507..4e70bdd 100644 --- a/fuzzycat/cluster.py +++ b/fuzzycat/cluster.py @@ -58,15 +58,12 @@ Features and integration. """ import collections -import fileinput import itertools import json -import logging import multiprocessing import operator import os import re -import string import subprocess import sys import tempfile diff --git a/fuzzycat/grobid_unstructured.py b/fuzzycat/grobid_unstructured.py index 4f09bce..79c39d3 100644 --- a/fuzzycat/grobid_unstructured.py +++ b/fuzzycat/grobid_unstructured.py @@ -11,7 +11,7 @@ TODO: more general versions which handle multiple reference strings in a batch? import io import sys import xml.etree.ElementTree as ET -from typing import Any, Optional, Tuple +from typing import Optional import requests from fatcat_openapi_client import ReleaseContrib, ReleaseEntity, ReleaseExtIds diff --git a/fuzzycat/matching.py b/fuzzycat/matching.py index d962255..683d859 100644 --- a/fuzzycat/matching.py +++ b/fuzzycat/matching.py @@ -7,7 +7,6 @@ import elasticsearch import elasticsearch_dsl import fatcat_openapi_client import requests -from dynaconf import Dynaconf from fatcat_openapi_client import ContainerEntity, DefaultApi, ReleaseEntity from fatcat_openapi_client.rest import ApiException diff --git a/fuzzycat/refs.py b/fuzzycat/refs.py index e2c3043..828bf2f 100644 --- a/fuzzycat/refs.py +++ b/fuzzycat/refs.py @@ -1,12 +1,10 @@ import collections -import itertools import json import operator import sys from glom import PathAccessError, glom -from fuzzycat.common import Reason, Status from fuzzycat.verify import verify diff --git a/fuzzycat/utils.py b/fuzzycat/utils.py index 8e1ffb0..d37ee32 100644 --- a/fuzzycat/utils.py +++ b/fuzzycat/utils.py @@ -1,5 +1,4 @@ import collections -import io import itertools import os import random diff --git a/tests/test_matching.py b/tests/test_matching.py index 438a191..7ab7b11 100644 --- a/tests/test_matching.py +++ b/tests/test_matching.py @@ -4,7 +4,6 @@ import warnings import elasticsearch import pytest import requests -from dynaconf import Dynaconf from fatcat_openapi_client import ReleaseEntity from fuzzycat.entities import entity_from_dict |