apache / apache/beam

[Task]: Update mypy type checker in tox.ini

Open
#25,615 3 comments 0 reactions 0 assignees View on GitHub
P3 python task
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What needs to happen?

If we try to update mypy-protobuf in build-requirements.txt to a latest version and run myypy==0.782(this is what we use currently to run mypy) type checker on the stubs generated by mypy-protobuf, we will see some errors which are wrong.

![image](https://user-images.githubusercontent.com/34158215/220982644-aa73e7ab-0841-4836-a17c-77e197c9b371.png)

Update mypy to the latest version since the current version we use (0.782) was released almost 2 years back.

### Issue Priority

Priority: 3 (nice-to-have improvement)

### Issue Components

- [X] Component: Python SDK
- [ ] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.