Skip to content

Commit 1e53a81

Browse files
holtskinnermartimfasantos
authored andcommitted
chore: Formatting/Lint fixes (a2aproject#24)
1 parent 8607017 commit 1e53a81

File tree

24 files changed

+136
-111
lines changed

24 files changed

+136
-111
lines changed

.github/actions/spelling/allow.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,35 @@
1+
ACard
2+
AClient
13
AError
24
ARequest
5+
ARun
36
AServer
47
AStarlette
8+
EUR
9+
GBP
10+
INR
11+
JPY
12+
JSONRPCt
13+
Llm
14+
aconnect
515
adk
16+
autouse
17+
cla
18+
cls
19+
coc
620
codegen
21+
coro
722
datamodel
23+
dunders
824
genai
25+
gle
926
inmemory
1027
langgraph
1128
lifecycles
29+
linting
1230
oauthoidc
1331
opensource
1432
socio
1533
sse
1634
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,5 @@ jobs:
6161
VALIDATE_CHECKOV: false
6262
VALIDATE_JAVASCRIPT_STANDARD: false
6363
VALIDATE_TYPESCRIPT_STANDARD: false
64+
VALIDATE_GIT_COMMITLINT: false
65+
MARKDOWN_CONFIG_FILE: .markdownlint.json

.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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).

examples/google_adk/__init__.py

Whitespace-only changes.

examples/google_adk/birthday_planner/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ This agent helps plan birthday parties. It has access to a Calendar Agent that i
1212

1313
## Running the example
1414

15-
1. Create the .env file with your API Key
15+
1. Create the `.env` file with your API Key
1616

17-
```bash
18-
echo "GOOGLE_API_KEY=your_api_key_here" > .env
19-
```
17+
```bash
18+
echo "GOOGLE_API_KEY=your_api_key_here" > .env
19+
```
2020

2121
2. Run the Calendar Agent. See examples/google_adk/calendar_agent.
2222

2323
3. Run the example
2424

25-
```
26-
uv run .
27-
```
25+
```sh
26+
uv run .
27+
```

0 commit comments

Comments
 (0)