Commit 943f538
committed
fix(kernel): make auth_bridge.py pass black + mypy
Two quality-check regressions from the azure-sp-m2m addition:
- mypy [no-redef]: the new azure-sp-m2m branch's `kwargs` assignment now
precedes the JWT branch's annotated `kwargs: Dict[str, Any]`. Move the
annotation onto the first (azure-sp-m2m) assignment so the later ones
are plain reassignments to the same annotated name.
- black: split the over-long `ignored_signals` tuple.
Verified locally: `black --check src` clean, `mypy src` reports no issues.
Co-authored-by: Isaac
Signed-off-by: eric-wang-1990 <e.wang@databricks.com>1 parent c344325 commit 943f538
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
282 | 286 | | |
283 | 287 | | |
284 | 288 | | |
| |||
288 | 292 | | |
289 | 293 | | |
290 | 294 | | |
291 | | - | |
| 295 | + | |
292 | 296 | | |
293 | 297 | | |
294 | 298 | | |
| |||
371 | 375 | | |
372 | 376 | | |
373 | 377 | | |
374 | | - | |
| 378 | + | |
375 | 379 | | |
376 | 380 | | |
377 | 381 | | |
| |||
0 commit comments