bazel-contrib / bazel-contrib/rules_mypy

Feature Request: support mypy coverage reports

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
12
Forks
13
PR merge metrics
No merged PRs in 30d

Description

In the current version (0.40.0), if I use any report generation options in mypy.ini , it doesn't display the report for the entire run.
It seems to only display the report last targets that it processed.

Expect: Output of aggregated of all targets that it checked
Actual: Output of some targets (presumably the first or last targets it checked)

Ideally, this can be integrated with https://bazel.build/configure/coverage or other existing tooling for tracking and tooling that improves visibility of coverage data (such as Sonarqube).

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating report generation in rules_mypy and reproduce the mypy.ini report behavior across multiple Bazel targets. Compare the output with the expected aggregation across all checked targets, then verify whether the result can connect to Bazel coverage or existing reporting tools such as SonarQube.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, testing
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.