Skip to content

Commit 226d406

Browse files
committed
fix: add spelling allowlist entry and jscpd exclusion for generated code
- Add 'protocgen' to spelling allow.txt (proto2pydantic plugin org) - Exclude generated *_pydantic.py from jscpd copy/paste detection
1 parent e7111b0 commit 226d406

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/spelling/allow.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ proto
107107
protobuf
108108
Protobuf
109109
protoc
110+
protocgen
110111
pydantic
111112
pyi
112113
pypistats

.jscpd.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"**/src/a2a/grpc/**",
77
"**/src/a2a/compat/**",
88
"**/.nox/**",
9-
"**/.venv/**"
9+
"**/.venv/**",
10+
"**/src/a2a/types/*_pydantic.py"
1011
],
1112
"threshold": 3,
1213
"reporters": ["html", "markdown"]

0 commit comments

Comments
 (0)