pylint-dev / pylint-dev/astroid

Use PEP 484 variable annotations for inference?

Open
#414 0 comments 7 reactions 0 assignees View on GitHub
Proposal 📨
Dominant language
Python
Stars
582
Forks
357
Avg merge
1d 1h
Merged PRs (30d)
23

Description

In Python 3.6, it seems we can now use annotations for variables. We should think if we can use the annotations for improving the inference, as long as the annotations respect a standard we can understand, such as PEP 484.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating astroid's inference handling for Python 3.6 variable annotations and review how PEP 484-compatible annotations could affect inferred types; done would require an agreed design and corresponding inference behavior.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.