Skip to content

Commit

Permalink
Silence some pytype errors.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 505759402
  • Loading branch information
rchen152 authored and pyglove authors committed Jan 30, 2023
1 parent e6b7d69 commit 559c405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyglove/core/typing/value_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def extend(self, base: ValueSpec) -> ValueSpec:
if not base.is_noneable and self._is_noneable:
raise TypeError(f'{self!r} cannot extend {base!r}: '
f'None is not allowed in base spec.')
self._extend(base)
self._extend(base) # pytype: disable=wrong-arg-types # always-use-return-annotations
return self

def _extend(self, base: ValueSpec) -> None:
Expand Down

0 comments on commit 559c405

Please sign in to comment.