Skip to content

Commit

Permalink
Execute pre-commit hooks one by one
Browse files Browse the repository at this point in the history
  • Loading branch information
tb1337 committed Feb 9, 2024
1 parent f6b5b60 commit 4379db0
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/typing-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Typing and Linting

on:
push:
branches:
- master
pull_request:
workflow_dispatch:

Expand All @@ -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

0 comments on commit 4379db0

Please sign in to comment.