KotlinIsland / KotlinIsland/basedmypy
Variables `Final` by default (`mutable` / `var`)
Open
basedtyping
feature
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```py
a = 1
a = 2 # should be an error imo
```
```py
a: var = 1
a = 2 # yeah, that's ok
```
Contributor guide
Research direction
Use the two Python examples as the behavioral specification: inspect the assignment and annotation/type-checking entry points, then find the existing tests for reassignment. Done means unannotated variables reject reassignment by default while `var` permits it, with tests covering both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100