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
Very minor issue. The below code runs, but Pyright is upset about pyjson5.dump(). It doesn't react to regular json.
pyjson5.dump()
json
import pyjson5 file = 'path' cache = dict() with open(file, 'w') as f: pyjson5.dump(cache, f) ^ Argument of type "TextIOWrapper" cannot be assigned to parameter "fp" of type "_SupportsWrite[str]" in function "dump" "TextIOWrapper" is incompatible with "_SupportsWrite[str]" Pylance(reportGeneralTypeIssues) (variable) f: TextIOWrapper
The text was updated successfully, but these errors were encountered:
Thank you for your report! I fixed it in v1.6.3.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Very minor issue. The below code runs, but Pyright is upset about
pyjson5.dump()
. It doesn't react to regularjson
.The text was updated successfully, but these errors were encountered: