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

ci: Set job for minor pre-commit hooks (#202)

parent e1f34693
No related branches found
No related tags found
1 merge request!183Introduce pre-commit-hooks hook (#202)
Pipeline #32454 waiting for manual action
...@@ -80,6 +80,22 @@ mypy: ...@@ -80,6 +80,22 @@ mypy:
script: script:
- pre-commit run -a mypy - pre-commit run -a mypy
pre-commit:hooks:
extends:
- .code_changes
- .pre-commit
stage: checks
script:
- pre-commit run -a check-ast
- pre-commit run -a check-merge-conflict
- pre-commit run -a check-toml
- pre-commit run -a debug-statements
- pre-commit run -a end-of-file-fixer
- pre-commit run -a mixed-line-ending
- pre-commit run -a trailing-whitespace
- pre-commit run -a insert-license
- pre-commit run -a mdformat
.tests: .tests:
extends: .changes extends: .changes
stage: tests stage: tests
......
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