From 600ad67925a748200ddf21d5aeabd157d2bb3664 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 26 Oct 2021 13:35:36 -0700 Subject: start handling trivial lint cleanups: unused imports, 'is None', etc --- python/tests/test_grobid.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/tests/test_grobid.py') diff --git a/python/tests/test_grobid.py b/python/tests/test_grobid.py index 55636dc..15d43fb 100644 --- a/python/tests/test_grobid.py +++ b/python/tests/test_grobid.py @@ -2,9 +2,9 @@ import struct import pytest import responses -from test_wayback import cdx_client, wayback_client +from test_wayback import cdx_client, wayback_client # noqa:F401 -from sandcrawler import BlackholeSink, CdxLinePusher, GrobidClient, GrobidWorker, WaybackClient +from sandcrawler import BlackholeSink, CdxLinePusher, GrobidClient, GrobidWorker FAKE_PDF_BYTES = b"%PDF SOME JUNK" + struct.pack("!q", 112853843) @@ -58,7 +58,7 @@ def test_grobid_success(grobid_client): @responses.activate -def test_grobid_worker_cdx(grobid_client, wayback_client): +def test_grobid_worker_cdx(grobid_client, wayback_client): # noqa: F811 sink = BlackholeSink() worker = GrobidWorker(grobid_client, wayback_client, sink=sink) -- cgit v1.2.3