Add check to entry (#32)

This commit is contained in:
Jonathan Plasse 2023-03-02 16:24:35 +01:00 committed by GitHub
parent c8ba6a0b13
commit 6a0ba18549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -27,6 +27,6 @@ jobs:
git config user.name 'Github Actions'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
- run: pre-commit-mirror --language python --package-name ruff --entry 'ruff --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" .
- run: pre-commit-mirror --language python --package-name ruff --entry 'ruff check --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" .
- run: git push origin HEAD:refs/heads/main --tags

View File

@ -1,7 +1,7 @@
- id: ruff
name: ruff
description: "Run 'ruff' for extremely fast Python linting"
entry: ruff --force-exclude
entry: ruff check --force-exclude
language: python
'types_or': [python, pyi]
args: []