diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d7915d0..895caca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,12 @@ on: workflow_dispatch: jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1 test: runs-on: ${{ matrix.os }} strategy: diff --git a/Makefile b/Makefile index 67beeae..1e428f7 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,11 @@ ci-proxy: ci: ci-static ci-proxy +pre-commit: + uv sync + uv pip install pre-commit + uv run pre-commit run --all-files + clean: rm -rf ./dist rm -rf ./mcp_scan/mcp_scan.egg-info