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

Inconsistent naming of stubs #315

Open
Avasam opened this issue Aug 11, 2024 · 1 comment
Open

Inconsistent naming of stubs #315

Avasam opened this issue Aug 11, 2024 · 1 comment

Comments

@Avasam
Copy link
Contributor

Avasam commented Aug 11, 2024

Not a big issue, but it might be a good idea to be consistent about using (or not using) the -stubs prefix for stubs in source code.
Unless there's an odd reason with Pylance integration I'm not aware of.

@heejaechang
Copy link
Contributor

heejaechang commented Aug 27, 2024

one with -stubs is, I believe, a partial stub packages (https://peps.python.org/pep-0561/#partial-stub-packages). we can make full stub packages as -stubs as well (https://peps.python.org/pep-0561/#stub-only-packages), but I believe for now, we kind of use -stubs to distinguish what packages are partial or not. since otherwise, we need to dig in and open py.typed file to see the package is partial or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants