Repository navigation
docs: fix typos and broken markup in docstrings and comments - #89
Merged
paulmueller merged 2 commits intoNov 23, 2026
Merged
Conversation
- typos in docstrings, comments, and two error messages ("provice",
"`image_cor`")
- the package docstring ran into the license text (missing blank line)
- lists without a preceding blank line rendered inline (LazyLoader,
HDF5Data index_mapping, get_mapping_indices); the LazyLoader example
used `sibling==__name__` instead of `sibling=__name__`
- the texture feature list rendered as a nested list
- "Usage:" in reserve_slot_for_task rendered as a block quote
- single backticks (italics) where code was meant, :func: for a
method, malformed Raises/Returns entries in DCNumPipelineJob.validate
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
paulmueller
approved these changes
Nov 23, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #89 +/- ##
==========================================
+ Coverage 88.22% 88.26% +0.04%
==========================================
Files 63 63
Lines 4543 4543
==========================================
+ Hits 4008 4010 +2
+ Misses 535 533 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second documentation PR (follows #88): typos and broken RST markup in docstrings and comments. No code changes, except the wording of two error messages.
Typos
torch_model.py)image_cor…" → "image_corr" (tex_all.py)Markup (rendered incorrectly in the API docs)
dcnum/__init__.py: no blank line between the summary and "MIT License". The package summary on the API page ran straight into the whole license text.LazyLoader,HDF5Dataindex_mapping,get_mapping_indices). TheHDF5Datalist also gained "list or np.ndarray".LazyLoaderexample usedsibling==__name__(a comparison) instead ofsibling=__name__.tex_asm") rendered as a bullet list with nested enumerations; docutils warned about it.reserve_slot_for_taskrendered as a block quote → "Usage::".default_roleis set); they are now double backticks where code was meant. Also:func:was used for a method,:math:was missing forR, andDCNumPipelineJob.validatehad a trailing colon in Raises andTrue:as a return type.Docstrings that contradict the code are fixed in the following PRs.
Checks
🤖 Generated with Claude Code