Commit 24bdb9e
Fix Pyright type errors: use local variable for Optional narrowing
audit_trail.py: Bind self.log_path to local var before None guard
so Pyright can narrow the type (instance attrs aren't narrowed).
cui_detector.py: Prefix unused text param with underscore.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5de60b4 commit 24bdb9e
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
| 617 | + | |
617 | 618 | | |
618 | | - | |
619 | | - | |
| 619 | + | |
| 620 | + | |
620 | 621 | | |
621 | 622 | | |
622 | 623 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
0 commit comments