Commit 4aee605
Address code review feedback: type annotations, test fixes, and code quality
- CRM-003: Add return type annotation to add_tool_servers_to_agent
- CRM-004: Add type annotations to _cleanup_servers and cleanup_all_servers
- CRM-006: Fix conversion error test to actually test error handling
- CRM-007: Update implicit boolean check to explicit None check
- CRM-008: Remove redundant local import of Agent
- CRM-010: Use bare raise instead of raise e
- CRM-011: Rename test to match behavior (skips_message not uses_empty_string)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 4cb074f commit 4aee605
3 files changed
Lines changed: 15 additions & 19 deletions
File tree
- libraries/microsoft-agents-a365-tooling-extensions-openai/microsoft_agents_a365/tooling/extensions/openai
- tests/tooling/extensions/openai
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | 193 | | |
196 | 194 | | |
197 | 195 | | |
| |||
223 | 221 | | |
224 | 222 | | |
225 | 223 | | |
226 | | - | |
| 224 | + | |
227 | 225 | | |
228 | 226 | | |
229 | 227 | | |
230 | 228 | | |
231 | | - | |
| 229 | + | |
232 | 230 | | |
233 | 231 | | |
234 | 232 | | |
| |||
238 | 236 | | |
239 | 237 | | |
240 | 238 | | |
241 | | - | |
| 239 | + | |
242 | 240 | | |
243 | 241 | | |
244 | 242 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
| 142 | + | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
| 401 | + | |
403 | 402 | | |
404 | 403 | | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
410 | 407 | | |
411 | | - | |
412 | 408 | | |
413 | | - | |
| 409 | + | |
414 | 410 | | |
415 | 411 | | |
416 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
417 | 415 | | |
418 | 416 | | |
419 | 417 | | |
| |||
0 commit comments