Commit 97e1722
committed
Fix additional type checking issues
- Update get_file return type to allow None in repo_operator.py
- Add type checking for decoded_filepath before decode operation
- Handle both bytes and string types from codecs.escape_decode
This reduces type checking diagnostics from 30 to 28.1 parent 1f89699 commit 97e1722
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
625 | 628 | | |
626 | 629 | | |
627 | 630 | | |
| |||
0 commit comments