From 4379db06ad4447c7bf7c36268e219f0362b99c68 Mon Sep 17 00:00:00 2001 From: tb1337 Date: Fri, 9 Feb 2024 16:36:09 +0000 Subject: [PATCH] Execute pre-commit hooks one by one --- .github/workflows/typing-linting.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/typing-linting.yml b/.github/workflows/typing-linting.yml index a63d513..4f0405d 100644 --- a/.github/workflows/typing-linting.yml +++ b/.github/workflows/typing-linting.yml @@ -2,6 +2,9 @@ name: Typing and Linting on: + push: + branches: + - master pull_request: workflow_dispatch: @@ -22,4 +25,17 @@ jobs: - name: 🚧 Install dependencies run: pip install . .[test] - name: 🚀 Run pre-commit hooks - run: pre-commit run --all --all-files + run: | + pre-commit run check-yaml --all-files + pre-commit run check-toml --all-files + pre-commit run check-ast --all-files + pre-commit run check-docstring-first --all-files + pre-commit run debug-statements --all-files + pre-commit run end-of-file-fixer --all-files + pre-commit run trailing-whitespace --all-files + pre-commit run ruff --all-files + pre-commit run ruff-format --all-files + pre-commit run black --all-files + pre-commit run codespell --all-files + pre-commit run mypy --all-files + pre-commit run pylint --all-files