Skip to content

Commit 59d68a1

Browse files
committedFeb 27, 2024
Remove local hook to fix pre-commit failure
1 parent 80d1730 commit 59d68a1

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed
 

‎.github/workflows/pre-commit.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run pre-commit
1+
name: pre-commit
22

33
on:
44
push:
@@ -10,5 +10,3 @@ on:
1010
jobs:
1111
pre-commit:
1212
uses: cpp-linter/.github/.github/workflows/pre-commit.yml@main
13-
with:
14-
commands: pip install pytest & pip install -e .

‎.pre-commit-config.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,3 @@ repos:
1818
hooks:
1919
- id: flake8
2020
args: [--max-line-length=120]
21-
- repo: local
22-
hooks:
23-
- id: tests
24-
name: tests
25-
entry: bash -c "pip install . && pytest -v tests"
26-
description: Run all tests
27-
language: system
28-
types: [python]

0 commit comments

Comments
 (0)
Please sign in to comment.