Skip to content

Commit

Permalink
mypy improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Nov 13, 2024
1 parent 8c584da commit e971a4c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import json
import logging
import os
from typing import Literal
from unittest import mock
from unittest.mock import MagicMock, patch

Expand Down Expand Up @@ -569,7 +570,7 @@ def test_read():
)


def test_config_update():
def test_config_update() -> None:
manifest = copy.deepcopy(MANIFEST)
manifest["definitions"]["retriever"]["requester"]["authenticator"] = {
"type": "OAuthAuthenticator",
Expand Down Expand Up @@ -632,7 +633,7 @@ def spec(self, logger: logging.Logger) -> ConnectorSpecification:
return connector_specification

@property
def check_config_against_spec(self):
def check_config_against_spec(self) -> Literal[False]:
return False

stack_trace = "a stack trace"
Expand Down

0 comments on commit e971a4c

Please sign in to comment.