KotlinIsland / KotlinIsland/basedmypy
Baseline diff (`--baseline-diff`)
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
From #109
```py
a: int = ""
```
`mypy --write-baseline a.py`
```py
b: str = 1
```
`mypy --write-baseline --baseline-file b.json a.py`
```
mypy --baseline-diff b.json
Removed:
a.py:1 can't assign a str to a variable of type int
Added:
a.py:1 can't assign an int to a variable of type str
```
Contributor guide
Research direction
Start by reproducing the two baseline-writing commands with a.py, then run `mypy --baseline-diff b.json` against the changed diagnostics. Trace the baseline and command-line entry points involved in these commands. Done means the output identifies diagnostics removed from and added to the baseline, matching the shown example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100