apache / apache/beam

[Task]: Improve Beam's compliance with Pyrefly checks

Open
#37,699 1 comment 0 reactions 1 assignee Claimed by @jrmccluskey 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?

[Pyrefly](https://pyrefly.org/) is being adopted as a new static type checker for many Python projects, and as a result a pyrefly.toml configuration is being added to Beam (the PR adding the file will be linked below.) A number of violations of default checks exist within Beam, and will be suppressed within this configuration file initially. An effort should be taken to reduce the number of checks we suppress in Beam, and this issue will track that work.

### 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 YAML
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Infrastructure
- [ ] 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.