From 91add283d7ed7acb425480b68303f0c56a008e06 Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Sat, 8 Jul 2023 09:24:39 +0200 Subject: [PATCH] add cartouche in README.md --- python/quality/package_black/README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python/quality/package_black/README.md b/python/quality/package_black/README.md index a2e048e..e6da0f9 100644 --- a/python/quality/package_black/README.md +++ b/python/quality/package_black/README.md @@ -1,10 +1,17 @@ ## Objective -Run [Black](https://github.com/psf/black) on your Python code to ensure it complies with the coding style -guide. +Run [Black](https://github.com/psf/black) on your Python code to ensure it complies with the coding +style guide. ## How to use it 1. Create a [python package](https://packaging.python.org/en/latest/tutorials/packaging-projects/). 2. Include template in your CI/CD conf (see quick use above) 3. Customize the template if it's relevant + +## Add <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a> cartouche to your project README.md +```markdown +<a href="https://github.com/psf/black"> + <img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"> +</a> +``` \ No newline at end of file -- GitLab