Skip to content

Commit 50d4ca2

Browse files
author
Andy
committed
Merge remote-tracking branch 'origin/feat-tp' into feat-tp
2 parents d01cf6d + 744ee4f commit 50d4ca2

Some content is hidden

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

48 files changed

+799
-191
lines changed

.git-blame-ignore-revs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Template taken from https://github.com/v8/v8/blob/master/.git-blame-ignore-revs.
2+
#
3+
# This file contains a list of git hashes of revisions to be ignored by git blame. These
4+
# revisions are considered "unimportant" in that they are unlikely to be what you are
5+
# interested in when blaming. Most of these will probably be commits related to linting
6+
# and code formatting.
7+
#
8+
# Instructions:
9+
# - Only large (generally automated) reformatting or renaming CLs should be
10+
# added to this list. Do not put things here just because you feel they are
11+
# trivial or unimportant. If in doubt, do not put it on this list.
12+
# - Precede each revision with a comment containing the PR title and number.
13+
# For bulk work over many commits, place all commits in a block with a single
14+
# comment at the top describing the work done in those commits.
15+
# - Only put full 40-character hashes on this list (not short hashes or any
16+
# other revision reference).
17+
# - Append to the bottom of the file (revisions should be in chronological order
18+
# from oldest to newest).
19+
# - Because you must use a hash, you need to append to this list in a follow-up
20+
# PR to the actual reformatting PR that you are trying to ignore.
21+
193693836e1ed8cd361e139668323d2e267a9eaa

.github/actions/spelling/allow.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
1+
ACard
2+
AClient
13
AError
24
ARequest
5+
ARun
6+
AServer
37
AStarlette
8+
EUR
9+
GBP
10+
INR
11+
JPY
12+
JSONRPCt
13+
Llm
14+
aconnect
415
adk
16+
autouse
17+
cla
18+
cls
19+
coc
20+
codegen
21+
coro
22+
datamodel
23+
dunders
524
genai
25+
gle
626
inmemory
727
langgraph
828
lifecycles
29+
linting
930
oauthoidc
1031
opensource
1132
socio
1233
sse
34+
tagwords
35+
vulnz

.github/actions/spelling/excludes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,5 @@
8585
^\Q.github/workflows/linter.yaml\E$
8686
\.gitignore\E$
8787
\.vscode/
88+
noxfile.py
89+
\.ruff.toml$
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
enabled: true
2+
always_check_pr_title: true

.github/linters/.jscpd.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ignore": ["**/.github/**", "**/.git/**", "**/tests/**"],
2+
"ignore": ["**/.github/**", "**/.git/**", "**/tests/**", "**/examples/**"],
33
"threshold": 3,
44
"reporters": ["html", "markdown"]
55
}

.github/linters/.markdownlint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"MD034": false,
3+
"MD013": false
4+
}

.github/workflows/linter.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ name: Lint Code Base
1313
#############################
1414
# Start the job on all push #
1515
#############################
16-
on:
17-
pull_request:
18-
branches: [main]
16+
# on:
17+
# pull_request:
18+
# branches: [main]
19+
on: workflow_dispatch
1920

2021
###############
2122
# Set the Job #
@@ -61,3 +62,5 @@ jobs:
6162
VALIDATE_CHECKOV: false
6263
VALIDATE_JAVASCRIPT_STANDARD: false
6364
VALIDATE_TYPESCRIPT_STANDARD: false
65+
VALIDATE_GIT_COMMITLINT: false
66+
MARKDOWN_CONFIG_FILE: .markdownlint.json
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Publish Python Package
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
release-build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install uv
18+
uses: astral-sh/setup-uv@v5
19+
20+
- name: "Set up Python"
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version-file: "pyproject.toml"
24+
25+
- name: Build
26+
run: uv build
27+
28+
- name: Upload distributions
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: release-dists
32+
path: dist/
33+
34+
pypi-publish:
35+
runs-on: ubuntu-latest
36+
needs:
37+
- release-build
38+
permissions:
39+
id-token: write
40+
41+
steps:
42+
- name: Retrieve release distributions
43+
uses: actions/download-artifact@v4
44+
with:
45+
name: release-dists
46+
path: dist/
47+
48+
- name: Publish release distributions to PyPI
49+
uses: pypa/gh-action-pypi-publish@release/v1
50+
with:
51+
packages-dir: dist/
52+
53+
54+

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ __pycache__
77
.ruff_cache
88
.venv
99
coverage.xml
10-
spec.json
10+
.nox

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Our Pledge
44

55
In the interest of fostering an open and welcoming environment, we as
6-
contributors and maintainers pledge to making participation in our project and
6+
contributors and maintainers pledge to make participation in our project and
77
our community a harassment-free experience for everyone, regardless of age, body
88
size, disability, ethnicity, gender identity and expression, level of
99
experience, education, socio-economic status, nationality, personal appearance,
@@ -47,7 +47,7 @@ offensive, or harmful.
4747

4848
This Code of Conduct applies both within project spaces and in public spaces
4949
when an individual is representing the project or its community. Examples of
50-
representing a project or community include using an official project e-mail
50+
representing a project or community include using an official project email
5151
address, posting via an official social media account, or acting as an appointed
5252
representative at an online or offline event. Representation of a project may be
5353
further defined and clarified by project maintainers.
@@ -93,4 +93,4 @@ available at
9393
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
9494

9595
Note: A version of this file is also available in the
96-
[New Project repo](https://github.com/google/new-project/blob/master/docs/code-of-conduct.md).
96+
[New Project repository](https://github.com/google/new-project/blob/master/docs/code-of-conduct.md).

0 commit comments

Comments
 (0)