llvm / llvm/circt

[Python] Use type hints everywhere possible

Open
#1,005 2 comments 0 reactions 0 assignees View on GitHub
Python
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

Having types explicitly spelled out helps with code readability and debugging. I think we should try to use it in any python code we produce and convert old code to do the same.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name files, tests, or a defined scope. Start by inventorying the repository's Python code and determining which files are covered, then agree on what “everywhere possible” means before making changes. Done would require explicit type hints across the agreed scope and verification that the Python code still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Refactor
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.