Skip to content

Commit 11e389e

Browse files
Update pre-commit-lite conditions (#89)
* update pre-commit-lite conditions * [pre-commit.ci lite] apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 3c49516 commit 11e389e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/run-tests.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
with:
1717
python-version: "3.10"
1818
- uses: pre-commit/[email protected]
19+
id: pre_commit
1920
# run pre-commit ci lite for automated fixes
2021
- uses: pre-commit-ci/[email protected]
21-
if: ${{ !cancelled() }}
22+
if: ${{ !cancelled() && steps.pre_commit.outcome == 'failure' }}
2223
tests:
2324
strategy:
2425
matrix:

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
# This hook checks yaml files for parseable syntax.
1818
- id: check-yaml
1919
- repo: https://github.com/charliermarsh/ruff-pre-commit
20-
rev: v0.11.8
20+
rev: v0.11.9
2121
hooks:
2222
- id: ruff
2323
args:
@@ -28,7 +28,7 @@ repos:
2828
- id: black
2929
language_version: python3
3030
- repo: https://github.com/python-poetry/poetry
31-
rev: "2.1.2"
31+
rev: "2.1.3"
3232
hooks:
3333
- id: poetry-check
3434
- repo: https://github.com/tox-dev/pyproject-fmt

0 commit comments

Comments
 (0)