Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Aug 9, 2023
1 parent 91e6968 commit 4ab34b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lexicon/tests/test_library.py
Expand Up @@ -11,7 +11,7 @@
import pkgutil
from re import Pattern
from types import ModuleType
from typing import List, Union
from typing import List, cast
from unittest import mock

import pytest
Expand All @@ -26,11 +26,11 @@ class Provider(BaseProvider):
Fake provider to simulate the provider resolution from configuration,
and to have execution traces when lexicon client is invoked
"""

@staticmethod
def get_nameservers() -> List[str] | List[Pattern]:
return []
return cast(List[str], [])

@staticmethod
def configure_parser(parser: ArgumentParser) -> None:
pass
Expand Down

0 comments on commit 4ab34b3

Please sign in to comment.