Skip to content

Implementing junit style reports #1476

@cetanu

Description

@cetanu

Question

Hello friends,

I'd like to contribute some code to this project, which as the title alludes to, is JUnit style XML reports!
This format is commonly used by CI servers to produce a formatted report that is easy for users to read.

I thought I would firstly ask if this is something you'd like in your project.
I anticipate some portion of people moving across from mypy to ty will want this feature (me included)

The second part of my question, is for guidance as to how and where I would start on this because I assume there may be a preference from the maintainers.

From a brief glance, it seems that I may have to write this code in rust, and add it to the ruff codebase, in the ty crate, possibly by modifying the Printer? If there is a better crate for this, or a new crate would be required, I am happy to do it in whatever way is desired.

Version

No response

Metadata

Metadata

Assignees

Labels

cliRelated to the command-line interface

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions