graphene icon indicating copy to clipboard operation
graphene copied to clipboard

bump mypy to 1.10

Open dulmandakh opened this issue 1 year ago • 1 comments

This PR bumps mypy, and fixes below error.

graphene/utils/deprecated.py:30: error: If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes  [str-bytes-safe]
graphene/utils/deprecated.py:32: error: If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes  [str-bytes-safe]

dulmandakh avatar Jul 06 '24 02:07 dulmandakh

@erikwrede please review and merge 🙏

dulmandakh avatar Jul 19 '24 16:07 dulmandakh

thank you, incorporated and superseded by #1578

erikwrede avatar Sep 29 '24 11:09 erikwrede