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

ci: Use pre-commit run -a short option (#202)

Rename jobs with the name of the tool: black, mypy
parent 924f32ea
No related branches found
No related tags found
No related merge requests found
......@@ -40,13 +40,13 @@ build:
paths:
- ${PRE_COMMIT_HOME}
format:
black:
extends:
- .code_changes
- .pre-commit
stage: checks
script:
- pre-commit run --all-files black
- pre-commit run -a black
isort:
extends:
......@@ -54,7 +54,7 @@ isort:
- .pre-commit
stage: checks
script:
- pre-commit run --all-files isort
- pre-commit run -a isort
lint:
extends:
......@@ -62,7 +62,7 @@ lint:
- .pre-commit
stage: checks
script:
- pre-commit run --all-files pylint
- pre-commit run -a pylint
pyupgrade:
extends:
......@@ -70,15 +70,15 @@ pyupgrade:
- .pre-commit
stage: checks
script:
- pre-commit run --all-files pyupgrade
- pre-commit run -a pyupgrade
type:
mypy:
extends:
- .code_changes
- .pre-commit
stage: checks
script:
- pre-commit run --all-files mypy
- pre-commit run -a mypy
.tests:
extends: .changes
......
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