Skip to content

Commit ee2f29e

Browse files
merged with main; linter run
2 parents 1d00446 + 9b91fff commit ee2f29e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+805
-3498
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# For syntax help see:
55
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
66

7-
* @google/a2a-eng
7+
* @google-a2a/googlers

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body:
2727
id: terms
2828
attributes:
2929
label: Code of Conduct
30-
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google/A2A?tab=coc-ov-file#readme)
30+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google-a2a/A2A?tab=coc-ov-file#readme)
3131
options:
3232
- label: I agree to follow this project's Code of Conduct
3333
required: true

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ body:
3535
id: terms
3636
attributes:
3737
label: Code of Conduct
38-
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google/a2a-python?tab=coc-ov-file#readme)
38+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google-a2a/a2a-python?tab=coc-ov-file#readme)
3939
options:
4040
- label: I agree to follow this project's Code of Conduct
4141
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Thank you for opening a Pull Request!
44
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
55

6-
- [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/google/a2a-python/blob/main/CONTRIBUTING.md).
6+
- [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/google-a2a/a2a-python/blob/main/CONTRIBUTING.md).
77
- [ ] Make your Pull Request title in the <https://www.conventionalcommits.org/> specification.
88
- [ ] Ensure the tests and linter pass (Run `nox -s format` from the repository root to format)
99
- [ ] Appropriate docs were updated (if necessary)

.github/actions/spelling/excludes.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
2+
(?:^|/)(?i).gitignore\E$
3+
(?:^|/)(?i)CODE_OF_CONDUCT.md\E$
24
(?:^|/)(?i)COPYRIGHT
35
(?:^|/)(?i)LICEN[CS]E
4-
(?:^|/)(?i)CODE_OF_CONDUCT.md\E$
5-
(?:^|/)(?i).gitignore\E$
66
(?:^|/)3rdparty/
77
(?:^|/)go\.sum$
88
(?:^|/)package(?:-lock|)\.json$
@@ -33,6 +33,7 @@
3333
\.gif$
3434
\.git-blame-ignore-revs$
3535
\.gitattributes$
36+
\.gitignore\E$
3637
\.gitkeep$
3738
\.graffle$
3839
\.gz$
@@ -62,6 +63,7 @@
6263
\.pyc$
6364
\.pylintrc$
6465
\.qm$
66+
\.ruff.toml$
6567
\.s$
6668
\.sig$
6769
\.so$
@@ -71,6 +73,7 @@
7173
\.tgz$
7274
\.tiff?$
7375
\.ttf$
76+
\.vscode/
7477
\.wav$
7578
\.webm$
7679
\.webp$
@@ -82,8 +85,7 @@
8285
\.zip$
8386
^\.github/actions/spelling/
8487
^\.github/workflows/
85-
\.gitignore\E$
86-
\.vscode/
87-
noxfile.py
88-
\.ruff.toml$
88+
^\Qsrc/a2a/auth/__init__.py\E$
89+
^\Qsrc/a2a/server/request_handlers/context.py\E$
8990
CHANGELOG.md
91+
noxfile.py

.github/actions/spelling/expect.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
AUser
12
excinfo
23
GVsb
34
notif

.github/workflows/linter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
# if on repo to avoid failing runs on forks
3030
if: |
31-
github.repository == 'google/a2a-python'
31+
github.repository == 'google-a2a/a2a-python'
3232
3333
##################
3434
# Load all steps #

.github/workflows/spelling.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
# if on repo to avoid failing runs on forks
2626
if: |
27-
github.repository == 'google/a2a-python'
27+
github.repository == 'google-a2a/a2a-python'
2828
&& (contains(github.event_name, 'pull_request') || github.event_name == 'push')
2929
concurrency:
3030
group: spelling-${{ github.event.pull_request.number || github.ref }}

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
runs-on: ubuntu-latest
1616

17-
if: github.repository == 'google/a2a-python'
17+
if: github.repository == 'google-a2a/a2a-python'
1818

1919
strategy:
2020
matrix:

.github/workflows/update-a2a-types.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
set -euo pipefail # Exit immediately if a command exits with a non-zero status
4242
43-
REMOTE_URL="https://raw.githubusercontent.com/google/A2A/refs/heads/main/specification/json/a2a.json"
43+
REMOTE_URL="https://raw.githubusercontent.com/google-a2a/A2A/refs/heads/main/specification/json/a2a.json"
4444
GENERATED_FILE="${{ steps.vars.outputs.GENERATED_FILE }}"
4545
4646
echo "Running datamodel-codegen..."
@@ -58,7 +58,8 @@ jobs:
5858
--use-default-kwarg \
5959
--use-one-literal-as-default \
6060
--class-name A2A \
61-
--use-standard-collections
61+
--use-standard-collections \
62+
--use-subclass-enum
6263
echo "Codegen finished."
6364
6465
- name: Create Pull Request with Updates
@@ -67,10 +68,10 @@ jobs:
6768
token: ${{ secrets.A2A_BOT_PAT }}
6869
committer: "a2a-bot <[email protected]>"
6970
author: "a2a-bot <[email protected]>"
70-
commit-message: "chore: 🤖Auto-update A2A types from google/A2A@${{ github.event.client_payload.sha }}"
71-
title: "chore: 🤖 Auto-update A2A types from google/A2A"
71+
commit-message: "${{github.event.client_payload.message}} 🤖"
72+
title: "${{github.event.client_payload.message}} 🤖"
7273
body: |
73-
This PR updates `src/a2a/types.py` based on the latest `specification/json/a2a.json` from [google/A2A](https://github.com/google/A2A/commit/${{ github.event.client_payload.sha }}).
74+
This PR updates `src/a2a/types.py` based on the latest `specification/json/a2a.json` from [google-a2a/A2A](https://github.com/google-a2a/A2A/commit/${{ github.event.client_payload.sha }}).
7475
branch: "auto-update-a2a-types-${{ github.event.client_payload.sha }}"
7576
base: main
7677
labels: |

0 commit comments

Comments
 (0)