Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit f86ca8c5 authored by Dorian Turba's avatar Dorian Turba
Browse files

update README.md

parent 4259e6d6
No related branches found
No related tags found
No related merge requests found
...@@ -21,10 +21,13 @@ line-length = 100 ...@@ -21,10 +21,13 @@ line-length = 100
## How to use it ## How to use it
2. Include template in your CI/CD conf (see quick use above) 1. Configure the black section of `pyproject.toml` in your repository's with your desired rules.
3. Customize the template if it's relevant 2. Include the Black template in your CI/CD configuration (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 ## Add a <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a> badge to your project README.md
To display the use of Black in your project, you can add the following badge to your README.md:
```markdown ```markdown
<a href="https://github.com/psf/black"> <a href="https://github.com/psf/black">
......
...@@ -19,8 +19,8 @@ max-complexity = 10 ...@@ -19,8 +19,8 @@ max-complexity = 10
max-line-length = 100 max-line-length = 100
``` ```
This example ignores certain errors, sets the maximum line length to 100 characters, excludes the This example sets the maximum line length to 100 characters, excludes the tests directory, and sets
tests directory, and sets the maximum McCabe complexity to 10. the maximum complexity to 10.
## How to use it ## How to use it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment