Commit 4394453
fix(types): py3.10 pyright 의 Self ↔ HwpDocument 호환 처리
변경사항:
- nodes.py 의 to_markdown / to_html 의 render_markdown / render_html 호출에 # type: ignore[arg-type] 추가
- pyright 1.1.409 부터 Self 타입과 nominal class 가 다르게 추론되어 py3.10 lint matrix 에서 fail (1.1.408 까지는 통과). 동일 클래스 호출이라 안전
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d550010 commit 4394453
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
| 755 | + | |
755 | 756 | | |
756 | 757 | | |
757 | 758 | | |
| |||
770 | 771 | | |
771 | 772 | | |
772 | 773 | | |
773 | | - | |
| 774 | + | |
| 775 | + | |
774 | 776 | | |
775 | 777 | | |
776 | 778 | | |
| |||
0 commit comments