Skip to content
Myr

Eliminate one type ignore

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Refs https://github.com/pallets/click/pull/3371#discussion_r3140243932

authored by Kevin Deldycke · committed by Kevin Deldycke · parent 6e981ed · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:src/click/types.py+3 added-1 removed
127 unmodified lines
128 its value. May be ``None``.129 :param ctx: The current context that arrived at this value. May130 be ``None``.131 """132 return value # type: ignore[no-any-return]132 # The default returns the value as-is so subclasses that only customize133 # metadata are not forced to redeclare ``convert``.134 return t.cast("ParamTypeValue", value)135136 def split_envvar_value(self, rv: str) -> cabc.Sequence[str]:137 """Given a value from an environment variable this splits it up138 into small chunks depending on the defined envvar list splitter.
1119 unmodified lines