We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%r
!r
repr
See this PR for the kind of changes I'd like to see automated: mhammond/pywin32#2272
From:
"%s %s" % (repr(foo), bar) "{} {}".format(repr(foo), bar) f"{repr(foo)} {bar}"
To:
"%r %s" % (foo, bar) "{!r} {}".format(foo, bar) f"{foo!r} {bar}"
I don't think this is supported by any linter atm. This should synergize well with UP030-UP032
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See this PR for the kind of changes I'd like to see automated: mhammond/pywin32#2272
From:
To:
I don't think this is supported by any linter atm. This should synergize well with UP030-UP032
The text was updated successfully, but these errors were encountered: