Skip to content

Commit

Permalink
Remove local hook to fix pre-commit failure
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng committed Feb 27, 2024
1 parent 80d1730 commit 59d68a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run pre-commit
name: pre-commit

on:
push:
Expand All @@ -10,5 +10,3 @@ on:
jobs:
pre-commit:
uses: cpp-linter/.github/.github/workflows/pre-commit.yml@main
with:
commands: pip install pytest & pip install -e .
8 changes: 0 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,3 @@ repos:
hooks:
- id: flake8
args: [--max-line-length=120]
- repo: local
hooks:
- id: tests
name: tests
entry: bash -c "pip install . && pytest -v tests"
description: Run all tests
language: system
types: [python]

0 comments on commit 59d68a1

Please sign in to comment.