beetbox / beetbox/confuse

Create Stub File for Type Annotation

Open
#121 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
424
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Using VSCode with pylance plugin in strict mode generate a lot of errors about missing type annotation.
The request is to create a stub file (*.pyi) to document every type of constants, methods, functions, etc.

https://www.python.org/dev/peps/pep-0484/
https://www.python.org/dev/peps/pep-0561/

Contributor guide

No contributing guide indexed for this repository

Research direction

Read PEP 484 and PEP 561 first, then inspect the package's public constants, methods, and functions to determine the stub scope. Create the requested *.pyi file with type annotations for those public members and verify that Pylance strict mode no longer reports the missing annotations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.