Skip to content

Commit

Permalink
Upgrade to latest Pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
jab committed Mar 20, 2022
1 parent d9f9da1 commit 5956a19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bidict/_iter.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def iteritems_mapping_or_iterable(arg: MapOrIterItems[KT, VT]) -> IterItems[KT,
yield from arg.items() if isinstance(arg, t.Mapping) else arg # pyright: ignore


def iteritems(__arg: MapOrIterItems[KT, VT], **kw: VT) -> IterItems[KT, VT]: # pyright: ignore [reportMissingParameterType]
def iteritems(__arg: MapOrIterItems[KT, VT], **kw: VT) -> IterItems[KT, VT]:
"""Yield the items from *arg* and then any from *kw* in the order given."""
yield from iteritems_mapping_or_iterable(__arg)
yield from kw.items() # type: ignore [misc]
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pylint==2.12.2
# via -r lint.in
pyparsing==3.0.7
# via packaging
pyright==1.1.229
pyright==1.1.231
# via -r lint.in
pytest==7.0.1
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pylint==2.12.2
# via -r lint.in
pyparsing==3.0.7
# via packaging
pyright==1.1.229
pyright==1.1.231
# via -r lint.in
pytest==7.0.1
# via -r lint.in
Expand Down

0 comments on commit 5956a19

Please sign in to comment.