Skip to content

docs: normalize gh# issue references to bare #N across codebase#1106

Merged
etal merged 2 commits into
masterfrom
chore-cnvkit-p3w-normalize-gh-refs
Jun 14, 2026
Merged

docs: normalize gh# issue references to bare #N across codebase#1106
etal merged 2 commits into
masterfrom
chore-cnvkit-p3w-normalize-gh-refs

Conversation

@etal

@etal etal commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Summary

GitHub does not auto-link gh#508; the repository's original and intended convention is a bare #508. The gh# prefix had leaked into reader-facing code comments and test docstrings from beads issue-source bookkeeping.

This sweep drops the gh prefix from the 27 remaining instances across cnvlib/ and test/, following the two already corrected in PR #1104 (commit e2722ee).

Scope

  • Pure prose: code comments and test docstrings only. No code behavior changes.
  • Combined refs are handled correctly, e.g. (#881, gh#508)(#881, #508).
  • grep -rn "gh#" test/ cnvlib/ skgenome/ doc/ returns empty afterward.

Verification

  • grep confirms zero remaining gh# references.
  • Ran the docstring-bearing test files (test_properties.py, test_vary.py, test_segmentation.py): 99 passed.

Closes cnvkit-p3w.

🤖 Generated with Claude Code

GitHub does not auto-link 'gh#508'; the repository's intended convention
is a bare '#508'. The 'gh#' prefix had leaked into reader-facing comments
and test docstrings from beads issue-source bookkeeping. This sweep drops
the 'gh' prefix from the 27 remaining instances across cnvlib/ and test/,
following the two already corrected in PR #1104 (e2722ee). Pure prose; no
behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.73%. Comparing base (731d6a3) to head (33f8ac5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1106   +/-   ##
=======================================
  Coverage   70.73%   70.73%           
=======================================
  Files          73       73           
  Lines        7946     7946           
  Branches     1405     1405           
=======================================
  Hits         5621     5621           
  Misses       1881     1881           
  Partials      444      444           
Flag Coverage Δ
unittests 70.73% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Newer matplotlib type stubs (as installed in CI's force-reinstalled
environment) make Axes.get_figure() return Any, so warn_return_any
flags 'return axis.get_figure()' as no-any-return -- an error code not
covered by the existing 'type: ignore[return-value]'. Older stubs typed
the return as Figure | None, which produced return-value instead. Cover
both codes so the suppression is robust across stub generations
(warn_unused_ignores is off, so the unused code is harmless locally).

Surfaced by CI on PR #1106.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@etal etal merged commit 240aca1 into master Jun 14, 2026
11 checks passed
@etal etal deleted the chore-cnvkit-p3w-normalize-gh-refs branch June 14, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant