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

[ci] Define extends on a one-liner

parent 93c7a443
No related branches found
No related tags found
No related merge requests found
......@@ -28,36 +28,31 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
- pyproject.toml
format:
extends:
- .code_changes
extends: .code_changes
stage: checks
script:
- black --check duniterpy tests examples
build:
extends:
- .changes
extends: .changes
stage: checks
script:
- poetry build
isort:
extends:
- .code_changes
extends: .code_changes
stage: checks
script:
- isort --check duniterpy tests examples
type:
extends:
- .code_changes
extends: .code_changes
stage: checks
script:
- mypy duniterpy tests examples --ignore-missing-imports
lint:
extends:
- .code_changes
extends: .code_changes
stage: checks
tags: [redshift]
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment