:warning: The input `pylint-files` / `PYLINT_FILES` was removed since version 9.0.0. If you were using this, merge it into `pylint-args` / `PYLINT_ARGS`
### Test jobs
The Python template features four alternative test jobs:
@@ -353,6 +355,7 @@ This job **disabled by default** and runs [black](https://black.readthedocs.io)
| Input / Variable | Description | Default value |
| `TBC_AWS_PROVIDER_IMAGE` | The [AWS Auth Provider](https://gitlab.com/to-be-continuous/tools/aws-auth-provider) image to use (can be overridden) | `registry.gitlab.com/to-be-continuous/tools/aws-auth-provider:latest` |
| `aws-region` / `AWS_REGION` | Default region (where the Codeartifact repository is located) | _none_ |
| `aws-codeartifact-domain` / `AWS_CODEARTIFACT_DOMAIN` | The CodeArtifact domain name | _none_ |
| `aws-codeartifact-domain-owner` / `AWS_CODEARTIFACT_DOMAIN_OWNER` | The CodeArtifact domain owner account ID | _none_ |
| `aws-region` / `AWS_REGION` | Default region (where the CodeArtifact repository is located) | _none_ |
"description":"This job allows publishing the built packages to a PyPI compatible repository ([GitLab packages](https://docs.gitlab.com/user/packages/pypi_repository/) by default.",
"description":"[pylint CLI options and arguments](http://pylint.pycqa.org/en/latest/user_guide/run.html#command-line-options)",
"default":".",
"advanced":true
},
{
@@ -209,7 +205,7 @@
"variables":[
{
"name":"PYTHON_AUTO_RELEASE_ENABLED",
"description":"When set the job start automatically. When not set (default), the job is manual. Note that this behavior also depends on release-enabled being set.",
"description":"When set the job start automatically on production branch. When not set (default), the job is manual. Note that this behavior also depends on release-enabled being set.",
"type":"boolean",
"advanced":true
},
@@ -282,18 +278,34 @@
"id":"black",
"name":"black",
"description":"Code formatting based on [black](https://black.readthedocs.io)",
"enable_with":"PYTHON_BLACK_ENABLED"
"enable_with":"PYTHON_BLACK_ENABLED",
"variables":[
{
"name":"PYTHON_BLACK_ARGS",
"description":"[black options and arguments](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html)",
"default":"--diff .",
"advanced":true
}
]
},
{
"id":"isort",
"name":"isort",
"description":"Check imports order with [isort](https://pycqa.github.io/isort)",