diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 556a0a6..01775b0 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,4 +1,4 @@ -name: Run pre-commit +name: pre-commit on: push: @@ -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 . diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 610338f..d9f4dbf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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]