Skip to content

How can I separate .py and .pyi files into different folders? #5214

Answered by rchiodo
wxrayut asked this question in Q&A
Discussion options

You must be logged in to vote

You can use a stubs path as described under python.analysis.stubPath in the readme. There's a default for this called typings that will also just work:

In your example it would be like so:

  • stdlib
    • add.py
  • typings
    • stdlib
      • add.pyi

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rchiodo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
team needs to reproduce Issue has not been reproduced yet
2 participants
Converted from issue

This discussion was converted from issue #5213 on December 05, 2023 17:01.