Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
wakamex committed May 13, 2024
1 parent 9f1e176 commit 99b063c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ape_alchemy/provider.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import os
import random
import time
from typing import Any, Dict, Iterator, List, Optional, cast
from typing import Any, Dict, List, Optional, cast

import numpy.random as random
from ape.api import PluginConfig, ReceiptAPI, TransactionAPI, UpstreamProvider
from ape.exceptions import (
APINotImplementedError,
Expand Down Expand Up @@ -255,7 +254,7 @@ def _make_request(
# safely get response date
response_data = err.response.json() if err.response else {}

# check if we have an error message, otherwise throw an error about the lack of error message
# check if we have an error message, otherwise throw an error
if "error" not in response_data:
raise AlchemyProviderError(str(err)) from err

Expand Down

0 comments on commit 99b063c

Please sign in to comment.