KotlinIsland / KotlinIsland/basedmypy
support defining different categories of types
Open
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
in some ways, similar to `Not` types, but at the declaration site:
```py
@category
class Missing:
....
a: object = Missing() # error: "Missing" is in a different category to `object`, despite inheriting from it at runtime
```
Contributor guide
Research direction
The issue proposes declaration-site type categories using a `@category` decorator and gives a typing example, but it names no files, tests, or entry points. Start by locating the type-checking logic for `Not` types and determine how category declarations and assignment errors should be specified before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100