Repository navigation
Commit 80679fe
committed
fix: correct package structure for type stubs to resolve import-untyped errors
- Rename nameparser_stubs/ to nameparser/ to match actual module name
- Update pyproject.toml package configuration
- Add py.typed file to signal package contains type information
This fixes the [import-untyped] error that occurs when installing the
package, as type stubs must be in a package that matches the module
name that users import (nameparser, not nameparser_stubs).1 parent ea672f7 commit 80679fe
3 files changed
Lines changed: 2 additions & 2 deletions
File renamed without changes.
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments