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
Bug Report
I get an error like the following whenever a debug f-string is used in my code and I try to generate a stub to by used with mypy:
Critical error during semantic analysis: myfile.py:76: error: f-string: self documenting expressions are only supported in Python 3.8 and greater
To Reproduce
option = 3 print(f'Debug print: {option=}')
Expected Behavior
Debug f-strings supported by stubgen, as long as py3.8+ is used.
Actual Behavior
stubgen fails to generate the pyi file when debug f-strings are found in the py module.
Your Environment
mypy.ini
The text was updated successfully, but these errors were encountered:
Duplicate of #10905
Sorry, something went wrong.
No branches or pull requests
Bug Report
I get an error like the following whenever a debug f-string is used in my code and I try to generate a stub to by used with mypy:
Critical error during semantic analysis: myfile.py:76: error: f-string: self documenting expressions are only supported in Python 3.8 and greater
To Reproduce
Expected Behavior
Debug f-strings supported by stubgen, as long as py3.8+ is used.
Actual Behavior
stubgen fails to generate the pyi file when debug f-strings are found in the py module.
Your Environment
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: