Skip to content
Snippets Groups Projects
Commit b47b7468 authored by Moul's avatar Moul
Browse files

[ci] Define extends on a one-liner

parent fbfcd8be
No related branches found
No related tags found
2 merge requests!157v1.0.0rc0: merge dev into master,!147[dep] Update websocket-client and attrs to major releases
Pipeline #12910 waiting for manual action
...@@ -28,36 +28,31 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest ...@@ -28,36 +28,31 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
- pyproject.toml - pyproject.toml
format: format:
extends: extends: .code_changes
- .code_changes
stage: checks stage: checks
script: script:
- black --check duniterpy tests examples - black --check duniterpy tests examples
build: build:
extends: extends: .changes
- .changes
stage: checks stage: checks
script: script:
- poetry build - poetry build
isort: isort:
extends: extends: .code_changes
- .code_changes
stage: checks stage: checks
script: script:
- isort --check duniterpy tests examples - isort --check duniterpy tests examples
type: type:
extends: extends: .code_changes
- .code_changes
stage: checks stage: checks
script: script:
- mypy duniterpy tests examples --ignore-missing-imports - mypy duniterpy tests examples --ignore-missing-imports
lint: lint:
extends: extends: .code_changes
- .code_changes
stage: checks stage: checks
tags: [redshift] tags: [redshift]
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment