From 19ee29afc8e15864330fb6a36e3f38c2851d22ab Mon Sep 17 00:00:00 2001 From: Holt Skinner Date: Tue, 29 Jul 2025 17:49:59 +0100 Subject: [PATCH 1/3] ci: Update Ruff Linter to use marketplace action --- .github/workflows/linter.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index 40c684b74..9036c51a9 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -27,22 +27,28 @@ jobs: - name: Run Ruff Linter id: ruff-lint + uses: astral-sh/ruff-action@v3 continue-on-error: true - run: uv run ruff check . - - name: Run Ruff Format Check + + - name: Run Ruff Formatter id: ruff-format + uses: astral-sh/ruff-action@v3 continue-on-error: true - run: uv run ruff format --check . + with: + args: "format --check" + - name: Run MyPy Type Checker id: mypy continue-on-error: true run: uv run mypy src + - name: Run Pyright (Pylance equivalent) id: pyright continue-on-error: true uses: jakebailey/pyright-action@v2 with: pylance-version: latest-release + - name: Run JSCPD for copy-paste detection id: jscpd continue-on-error: true From 9861c12b795d118e57cb60486617fc13b8f7cc61 Mon Sep 17 00:00:00 2001 From: Holt Skinner Date: Tue, 29 Jul 2025 17:59:06 +0100 Subject: [PATCH 2/3] add formatting error --- src/a2a/utils/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/a2a/utils/errors.py b/src/a2a/utils/errors.py index 2964172d6..ba4620aa1 100644 --- a/src/a2a/utils/errors.py +++ b/src/a2a/utils/errors.py @@ -17,7 +17,7 @@ class A2AServerError(Exception): - """Base exception for A2A Server errors.""" + """Base exception for A2A Server errors.""" class MethodNotImplementedError(A2AServerError): From e174fa13961b3b968e4230a574085fadef4f3927 Mon Sep 17 00:00:00 2001 From: Holt Skinner Date: Tue, 29 Jul 2025 18:02:10 +0100 Subject: [PATCH 3/3] Fix formatting error --- src/a2a/utils/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/a2a/utils/errors.py b/src/a2a/utils/errors.py index ba4620aa1..2964172d6 100644 --- a/src/a2a/utils/errors.py +++ b/src/a2a/utils/errors.py @@ -17,7 +17,7 @@ class A2AServerError(Exception): - """Base exception for A2A Server errors.""" + """Base exception for A2A Server errors.""" class MethodNotImplementedError(A2AServerError):