KotlinIsland / KotlinIsland/basedmypy
Enforce modules with certain path mappings meet certain interfaces
Open
feature
p-3
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Something like a mapping declaration
This would enforce that any module/file that meets that filter must meet the specified type.
```py
from basedtyping import module_type_map
module_type_map({
"pages.*": PageType,
"apis.*": APIType,
})
```
relates #262
Contributor guide
Research direction
Start by reviewing the proposed module_type_map declaration and the related issue #262. Identify how basedmypy currently discovers modules, applies path mappings, and checks interfaces. Done should mean modules matching mappings are enforced against their specified types, with the behavior defined for both pages.* and apis.* patterns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100