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 9e13f8aa authored by Dorian Turba's avatar Dorian Turba
Browse files

black job no longer require pyproject.toml

parent 1e960a94
No related branches found
No related tags found
No related merge requests found
......@@ -11,12 +11,6 @@ style guide.
2. Include template in your CI/CD conf (see quick use above)
3. Customize the template if it's relevant
## Variables
| Name | Description | Default |
|---------------------------|--------------------------------------------------------------------------------------------------------|---------|
| `OPTIONAL_DEPENDENCY_TAG` | If `black` is listed as a main dependency, leave variable empty, otherwise fill it with `[<TAGNAME>]`. | `""` |
## 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">
......
......@@ -5,7 +5,7 @@ black:
- python --version # Debug
- python -m venv venv --upgrade-deps || python -m venv venv
- source venv/bin/activate
- pip install .[OPTIONAL_DEPENDENCY_TAG]
- pip install black
- package_black . --check --diff --quiet
only:
changes:
......@@ -13,5 +13,3 @@ black:
- tests/**/*.py
- .gitlab-ci.yml
- pyproject.toml
variables:
OPTIONAL_DEPENDENCY_TAG: ""
\ No newline at end of file
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