KotlinIsland / KotlinIsland/basedmypy

Warn on usages of `Literal[None]`

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
understandability
Dominant language
Python
Stars
202
Forks
6
PR merge metrics
No merged PRs in 30d

Description

This is redundant and confusing and would benefit from some errors.

Contributor guide

Open the contributing guide

Research direction

Start by locating the code that analyzes typing.Literal expressions and the existing tests for emitted errors or warnings. Determine how Literal[None] is currently represented and where diagnostics are asserted. Done means usages of Literal[None] produce the intended warning without changing other Literal behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers, devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.