Skip to content

Commit 0dc0f89

Browse files
Merge branch 'main' into feat/fastapi-routes-helpers
2 parents 9ca9381 + 09a2221 commit 0dc0f89

36 files changed

Lines changed: 748 additions & 611 deletions

.github/workflows/coverage-comment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626

2727
- name: Upload Coverage Report
2828
id: upload-report
29-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
29+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
3030
with:
3131
name: coverage-report
3232
path: coverage/
3333
retention-days: 14
3434

3535
- name: Post Comment
36-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
36+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
3737
env:
3838
ARTIFACT_URL: ${{ steps.upload-report.outputs.artifact-url }}
3939
with:

.github/workflows/itk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
run: bash run_itk.sh
3232
working-directory: itk
3333
env:
34-
A2A_SAMPLES_REVISION: itk-v.02-alpha
34+
A2A_SAMPLES_REVISION: itk-v.021-alpha

.github/workflows/linter.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,10 @@ jobs:
4141
id: ruff-format
4242
run: uv run ruff format --check
4343
continue-on-error: true
44-
- name: Run MyPy Type Checker
45-
id: mypy
44+
- name: Run ty Type Checker
45+
id: ty
4646
continue-on-error: true
47-
run: uv run mypy src
48-
- name: Run Pyright (Pylance equivalent)
49-
id: pyright
50-
continue-on-error: true
51-
run: uv run pyright src
47+
run: uv run ty check --output-format=github
5248
- name: Run JSCPD for copy-paste detection
5349
id: jscpd
5450
continue-on-error: true
@@ -60,15 +56,13 @@ jobs:
6056
env:
6157
RUFF_LINT: ${{ steps.ruff-lint.outcome }}
6258
RUFF_FORMAT: ${{ steps.ruff-format.outcome }}
63-
MYPY: ${{ steps.mypy.outcome }}
64-
PYRIGHT: ${{ steps.pyright.outcome }}
59+
TY: ${{ steps.ty.outcome }}
6560
JSCPD: ${{ steps.jscpd.outcome }}
6661
run: |-
6762
failed=()
6863
[[ "$RUFF_LINT" == "failure" ]] && failed+=("Ruff Linter")
6964
[[ "$RUFF_FORMAT" == "failure" ]] && failed+=("Ruff Formatter")
70-
[[ "$MYPY" == "failure" ]] && failed+=("MyPy")
71-
[[ "$PYRIGHT" == "failure" ]] && failed+=("Pyright")
65+
[[ "$TY" == "failure" ]] && failed+=("ty")
7266
[[ "$JSCPD" == "failure" ]] && failed+=("JSCPD")
7367
if (( ${#failed[@]} )); then
7468
joined=$(IFS=', '; echo "${failed[*]}")

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: uv build
2727

2828
- name: Upload distributions
29-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
29+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
3030
with:
3131
name: release-dists
3232
path: dist/
@@ -46,6 +46,6 @@ jobs:
4646
path: dist/
4747

4848
- name: Publish release distributions to PyPI
49-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
49+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
5050
with:
5151
packages-dir: dist/

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
release-please:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4
16+
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v4
1717
with:
1818
token: ${{ secrets.A2A_BOT_PAT }}
1919
config-file: release-please-config.json

.github/workflows/security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: read
1313
steps:
1414
- name: Perform Bandit Analysis
15-
uses: PyCQA/bandit-action@8a1b30610f61f3f792fe7556e888c9d7dffa52de # v1
15+
uses: PyCQA/bandit-action@67a458d90fa11fb1463e91e7f4c8f068b5863c7f # v1.0.1
1616
with:
1717
severity: medium
1818
confidence: medium

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
echo ${{ github.event.pull_request.base.ref || 'main' }} > ./BASE_BRANCH
103103
104104
- name: Upload Coverage Artifacts
105-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
105+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
106106
if: github.event_name == 'pull_request' && matrix.python-version == '3.14'
107107
with:
108108
name: coverage-data
@@ -120,7 +120,7 @@ jobs:
120120
run: uv run pytest --cov=a2a --cov-report term --cov-fail-under=88
121121

122122
- name: Upload Artifact (base)
123-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
123+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
124124
if: github.event_name != 'pull_request' && matrix.python-version == '3.14'
125125
with:
126126
name: coverage-report

docs/ai/coding_conventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Non-negotiable rules for code quality and style.
44

55
1. **Python Types**: All Python code MUST include type hints. All function definitions MUST include return types.
6-
2. **Type Safety**: All code MUST pass `mypy` and `pyright` checks.
6+
2. **Type Safety**: All code MUST pass `ty` checks.
77
3. **Formatting & Linting**: All code MUST be formatted with `ruff`.
88

99
#### Examples:

docs/ai/mandatory_checks.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Exact shell commands required to test the project and fix formatting issues.
1010

1111
2. **Type Checking**:
1212
```bash
13-
uv run mypy src
14-
uv run pyright src
13+
uv run ty check
1514
```
1615

1716
3. **Testing**:

itk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You must set the `A2A_SAMPLES_REVISION` environment variable to specify which re
3636

3737
Example:
3838
```
39-
export A2A_SAMPLES_REVISION=itk-v.02-alpha
39+
export A2A_SAMPLES_REVISION=itk-v.021-alpha
4040
```
4141

4242
### 2. Execute Tests

0 commit comments

Comments
 (0)