nonebot / nonebot/noneflow

feat: 为`library`类型的插件新增`PEP 561`的检查

Open
#217 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
21
Forks
9
PR merge metrics
No merged PRs in 30d

Description

有很多library明明写了类型注解但是并没有用py.typed进行标注
可以督促作者把这个加上 防止type checker乱报错

或许还有某些library (我不知道有没有) 压根没写类型
可以避雷 毕竟nb是完整类型注解​

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the library-plugin validation workflow in this repository and review how plugin metadata is currently checked. Use the PEP 561 requirement in the issue as the expected behavior, then define tests covering libraries with and without py.typed and any missing type annotations. Done means the workflow consistently identifies libraries that lack the expected typing support.

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.