Skip to content

Commit 2036f54

Browse files
committed
Fix linter
1 parent 0fc7adc commit 2036f54

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

src/nypl_py_utils/classes/avro_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import time
21
import avro.schema
32
import requests
43

@@ -7,7 +6,7 @@
76
from io import BytesIO
87
from nypl_py_utils.functions.log_helper import create_log
98
from requests.adapters import HTTPAdapter, Retry
10-
from requests.exceptions import JSONDecodeError, RequestException
9+
from requests.exceptions import JSONDecodeError
1110

1211

1312
class AvroClient:

tests/test_avro_client.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import json
22
import pytest
3-
from unittest.mock import patch
4-
5-
import requests
63

74
from nypl_py_utils.classes.avro_client import (
8-
AvroClient, AvroClientError, AvroDecoder, AvroEncoder)
9-
from requests import session
5+
AvroClientError, AvroDecoder, AvroEncoder)
106
from requests.exceptions import ConnectTimeout
117

128
_TEST_SCHEMA = {'data': {'schema': json.dumps({

0 commit comments

Comments
 (0)