diff --git a/python/quality/package_black/README.md b/python/quality/package_black/README.md index 46659fe38af9da4f21173f0424ed70b02e82c3ee..ebe8a8cbb3c57d6877116380e648a45e19e58295 100644 --- a/python/quality/package_black/README.md +++ b/python/quality/package_black/README.md @@ -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"> diff --git a/python/quality/package_black/package_black.yml b/python/quality/package_black/package_black.yml index e317362ad0bd7b53b13c50de110939c892fbcc19..e4c0fb08a03343e93e577bd90f573c17f07c7edb 100644 --- a/python/quality/package_black/package_black.yml +++ b/python/quality/package_black/package_black.yml @@ -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