@@ -1576,7 +1576,7 @@ def test_extract_diff_hunks_prefers_first_added_line_for_right_side() -> None:
15761576 ]
15771577 )
15781578
1579- hunks = pr_commands ._extract_diff_hunks (diff ) # pyright: ignore[reportPrivateUsage]
1579+ hunks = pr_commands ._extract_diff_hunks (diff )
15801580
15811581 assert len (hunks ) == 1
15821582 assert hunks [0 ].path == "paddle/phi/kernels/funcs/abs.h"
@@ -1602,7 +1602,7 @@ def test_extract_diff_hunks_uses_real_new_file_line_numbers_on_right_side() -> N
16021602 ]
16031603 )
16041604
1605- hunks = pr_commands ._extract_diff_hunks (diff ) # pyright: ignore[reportPrivateUsage]
1605+ hunks = pr_commands ._extract_diff_hunks (diff )
16061606
16071607 assert len (hunks ) == 1
16081608 assert hunks [0 ].path == "src/gh_llm/commands/pr.py"
@@ -1612,7 +1612,7 @@ def test_extract_diff_hunks_uses_real_new_file_line_numbers_on_right_side() -> N
16121612
16131613
16141614def test_render_numbered_hunk_lines_preserves_real_right_side_line_numbers () -> None :
1615- hunk = pr_commands ._DiffHunk ( # pyright: ignore[reportPrivateUsage]
1615+ hunk = pr_commands ._DiffHunk (
16161616 path = "src/gh_llm/commands/pr.py" ,
16171617 header = "@@ -890,6 +890,7 @@ def _extract_diff_hunks(diff: str) -> list[_DiffHunk]:" ,
16181618 anchor_line = 893 ,
@@ -1631,7 +1631,7 @@ def test_render_numbered_hunk_lines_preserves_real_right_side_line_numbers() ->
16311631 match_paths = {"src/gh_llm/commands/pr.py" },
16321632 )
16331633
1634- rendered = pr_commands ._render_numbered_hunk_lines (hunk ) # pyright: ignore[reportPrivateUsage]
1634+ rendered = pr_commands ._render_numbered_hunk_lines (hunk )
16351635
16361636 assert "L 890 R 890 | current_hunk_lines: list[str] = []" in rendered
16371637 assert "L 891 R 891 | current_old_line = 0" in rendered
@@ -1640,7 +1640,7 @@ def test_render_numbered_hunk_lines_preserves_real_right_side_line_numbers() ->
16401640
16411641
16421642def test_inline_review_thread_blocks_do_not_fallback_from_current_right_anchor_to_original_left_line () -> None :
1643- current_hunk = pr_commands ._DiffHunk ( # pyright: ignore[reportPrivateUsage]
1643+ current_hunk = pr_commands ._DiffHunk (
16441644 path = "paddle/phi/api/include/compat/ATen/ops/from_blob.h" ,
16451645 header = "@@ -18,3 +80,4 @@" ,
16461646 anchor_line = 81 ,
@@ -1654,7 +1654,7 @@ def test_inline_review_thread_blocks_do_not_fallback_from_current_right_anchor_t
16541654 right_commentable_lines = {80 , 81 , 82 },
16551655 match_paths = {"paddle/phi/api/include/compat/ATen/ops/from_blob.h" },
16561656 )
1657- stale_hunk = pr_commands ._DiffHunk ( # pyright: ignore[reportPrivateUsage]
1657+ stale_hunk = pr_commands ._DiffHunk (
16581658 path = "paddle/phi/api/include/compat/ATen/ops/from_blob.h" ,
16591659 header = "@@ -80,4 +210,1 @@" ,
16601660 anchor_line = 210 ,
@@ -1684,7 +1684,7 @@ def test_inline_review_thread_blocks_do_not_fallback_from_current_right_anchor_t
16841684 comments = (),
16851685 )
16861686
1687- blocks_by_hunk = pr_commands ._build_inline_review_thread_blocks_for_file ( # pyright: ignore[reportPrivateUsage]
1687+ blocks_by_hunk = pr_commands ._build_inline_review_thread_blocks_for_file (
16881688 hunks = [current_hunk , stale_hunk ],
16891689 summaries = [summary ],
16901690 extra_contexts = [None , None ],
@@ -2897,7 +2897,7 @@ def test_pr_body_template_finds_docs_template_directory(
28972897
28982898def test_decode_repository_contents_text_returns_none_for_invalid_base64 () -> None :
28992899 payload : dict [str , object ] = {"encoding" : "base64" , "content" : "A" }
2900- assert github_api ._decode_repository_contents_text (payload ) is None # pyright: ignore[reportPrivateUsage]
2900+ assert github_api ._decode_repository_contents_text (payload ) is None
29012901
29022902
29032903def test_pr_body_template_surfaces_non_404_lookup_failures (
0 commit comments