aws / aws/aws-encryption-sdk-python

Feature request: Add support for typing with mypy

未关闭
#563 3 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
Python
星标
255
派生
92
平均合并
2 天 17 小时
30 天内合并 PR
2

描述

### Problem:

Using the aws_encryption_sdk in a project with mypy produces this error:

```
error: Skipping analyzing "aws_encryption_sdk": module is installed, but missing library stubs or py.typed marker
```

### Solution:

I attempted to simply add the py.typed marker file to my virtualenv and it seems not as simple, a lot of other incompatibilities.
Maybe stubs or .pyi could be provided

Thank you very much!

贡献指南

打开贡献指南

调研方向

首先重现导入 aws_encryption_sdk 时报告的 mypy 错误,然后检查该包的公共类型接口以及 issue 中提到的不兼容问题。确定该包是否可以使用 py.typed 标记,或者是否需要 stubs;当 mypy 能够在没有这些错误的情况下分析受支持的公共导入时,即可认为工作完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
developer-experience, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。