Skip to content

Commit

Permalink
fix type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Sep 14, 2023
1 parent 938fc75 commit 71687f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gto/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=no-self-argument, inconsistent-return-statements, invalid-name, import-outside-toplevel
import pathlib
from pathlib import Path
from typing import Any, Dict, List, Optional, Type
from typing import Any, Dict, List, Optional, Tuple, Type

from pydantic import field_validator
from pydantic.fields import FieldInfo
Expand Down Expand Up @@ -82,11 +82,11 @@ def __init__(self, settings_cls: Type[BaseSettings]):

def get_field_value(
self, field: FieldInfo, field_name: str
) -> tuple[Any, str, bool]:
) -> Tuple[Any, str, bool]:
# Nothing to do here. Only implement the return statement to make mypy happy
return None, "", False

def __call__(self) -> dict[str, Any]:
def __call__(self) -> Dict[str, Any]:
return self.init_kwargs


Expand Down

0 comments on commit 71687f5

Please sign in to comment.