Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Eero Vaher <eero.vaher@gmail.com>
  • Loading branch information
nstarman and eerovaher committed Jul 10, 2024
1 parent ed54b93 commit 85dac50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astropy/cosmology/parameter/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

from astropy.cosmology import Cosmology

_FValidateCallable: TypeAlias = Callable[[Cosmology, "Parameter", Any], "_VT"]
_FValidateCallable: TypeAlias = Callable[[Cosmology, Parameter, Any], _VT] # noqa: F821


_VT = TypeVar("_VT") # the type of the VParameter value. Required at runtime.
_VT = TypeVar("_VT") # the type of the VParameter value. Required at runtime for defining `Parameter`.


class Sentinel(Enum):
Expand Down

0 comments on commit 85dac50

Please sign in to comment.