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

doc black

parent f77bb1b7
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ files:
template: ./python/code_quality/black/black.yml
documentation: ./python/code_quality/black/README.md
data:
description: "Run black on a package"
description: "Run Black on your repository"
icon:
public: true
labels:
......
......@@ -3,13 +3,12 @@ black:
stage: code_quality
script:
- python --version # Debug
- python -m venv venv --upgrade-deps || python -m venv venv
- python -m venv venv --upgrade-deps || python -m venv venv # upgrade-deps is not supported before 3.9
- source venv/bin/activate
- pip install black
- black . --check --diff --quiet
only:
changes:
- src/**/*.py
- tests/**/*.py
- ./**/*.py
- .gitlab-ci.yml
- pyproject.toml
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