Skip to content
New issue

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

Typecheckingmode in a pyrightconfig.json is not used when determine result of 'Generate with Type Annotation' #6646

Open
rchiodo opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Nov 6, 2024

  1. Make sure this is not set: python.analysis.generateWithTypeAnnotation
  2. Create pyrightconfig.json that sets the typechecking mode to something other than 'off'
  3. Create a python file
  4. Create a class
  5. Complete the __init__ method.

Expected result:

__init__ method has a type annotation

Actual result:

__init__ method does not have a type annotation.

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Nov 6, 2024
@debonte debonte assigned heejaechang and unassigned debonte Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants