Skip to content

Commit 86a4350

Browse files
committed
Remove dependency on eth-utils ValidationError for ENSValidationError
1 parent 1a17a32 commit 86a4350

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ens/exceptions.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from eth_utils import (
2-
ValidationError,
3-
)
41
import idna
52

63

@@ -104,8 +101,7 @@ class UnderfundedBid(ENSException):
104101
"""
105102

106103

107-
# type ignored because subclassing ValidationError which has type Any
108-
class ENSValidationError(ENSException, ValidationError): # type: ignore[misc]
104+
class ENSValidationError(ENSException):
109105
"""
110106
Raised if there is a validation error
111107
"""

0 commit comments

Comments
 (0)