Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quantum-0/black-junit
Module to generate JUnit report from black results
https://github.com/quantum-0/black-junit
black blue code-quality formatter formatting gitlab gitlab-ci junit python
Last synced: about 1 month ago
JSON representation
Module to generate JUnit report from black results
- Host: GitHub
- URL: https://github.com/quantum-0/black-junit
- Owner: Quantum-0
- License: mit
- Created: 2022-08-10T16:12:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-17T20:22:10.000Z (3 months ago)
- Last Synced: 2024-10-01T15:07:59.257Z (about 1 month ago)
- Topics: black, blue, code-quality, formatter, formatting, gitlab, gitlab-ci, junit, python
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# black-junit
This project is a tool for generation JUnit's report from black/blue output
# Install
`pip install black-junit`
# Usage
```bash
black . --check --verbose 2>results.txt
black-junit < results.txt > report.xml
```or, in case using **blue** formatter:
```bash
blue . --check --verbose 2>results.txt
black-junit < results.txt > report.xml
```# Badges
[![wakatime](https://wakatime.com/badge/github/Quantum-0/black-junit.svg)](https://wakatime.com/badge/github/Quantum-0/black-junit)
[![Black](https://github.com/Quantum-0/black-junit/actions/workflows/black.yml/badge.svg)](https://github.com/Quantum-0/black-junit/actions/workflows/black.yml)
[![GitHub Org's stars](https://img.shields.io/github/stars/quantum-0/black-junit)](https://github.com/Quantum-0/black-junit/)
![PyPI - License](https://img.shields.io/pypi/l/black-junit)
[![PyPI](https://img.shields.io/pypi/v/black-junit)](https://pypi.org/project/black-junit/)
![PyPI - Status](https://img.shields.io/pypi/status/black-junit)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/black-junit)
![PyPI - Downloads](https://img.shields.io/pypi/dm/black-junit)# License
[MIT License](./LICENSE)