graphene
graphene copied to clipboard
bump mypy to 1.10
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]
@erikwrede please review and merge 🙏
thank you, incorporated and superseded by #1578