-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve #165 #415
Resolve #165 #415
Conversation
Codecov Report
@@ Coverage Diff @@
## main #415 +/- ##
==========================================
- Coverage 94.85% 94.84% -0.01%
==========================================
Files 83 83
Lines 5265 5281 +16
==========================================
+ Hits 4994 5009 +15
- Misses 271 272 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
docs/source/conf.py
Outdated
DType: ":obj:`~scico.typing.DType`", | ||
Optional[DType]: ":obj:`~typing.Optional`\ [\ :obj:`~scico.typing.DType`\ ]", | ||
Union[DType, Sequence[DType]]: ( | ||
":obj:`~typing.Union`\ [\ :obj:`~scico.typing.DType`\ , " | ||
":obj:`~typing.Sequence`\ [\ :obj:`~scico.typing.DType`\ ]]" | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understand it, you have to add each type that uses DType
here. Correct? Perhaps add a comment along the lines of "add new types here".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, correct. Good point -- will do.
* Resolve #261 (#416) * Improve markup for numpy.float32 etc. as well as some other docs improvements * Add note to style docs * Minor docs edit * Some markup changes * Resolve #165 (#415) * Add function for computing gaussian distribution * Typing fix and better default sigma * Address #165 * Fix docs typos and suppress apparently-spurious type error * Target clean also cleans _autosummary directory * Use new TypeAlias declaration * Suppress type error * Avoid pollution of docs with excessively long type alias definition * Add comment as per PR review suggestion * Resolve #83 (#417) * Attempt to remove rtd edit on github button * Bump jaxlib/jax max versions * Remove function no longer in jax.numpy * Resolve #377 (#418) * Fix markup * Docstring edits * Change sphinx theme * Docstring fixes * Theme customization * Clean up * Fix inheritance diagram insertion * Resolve document not in any toctree warning for index.ipynb * Clean up * Update submodule * Adjust css * Avoid problems with dark mode * Add version number in sidebar * Change inheritance diagram color scheme * Clean up * Correct path to docs_requirements --------- Co-authored-by: Thilo Balke <[email protected]> * Implement PR review recommendations --------- Co-authored-by: Thilo Balke <[email protected]>
* Rename test file * Add function and tests * Replace try-and-see code with new function * Implement #419 review recommendations (#421) * Resolve #261 (#416) * Improve markup for numpy.float32 etc. as well as some other docs improvements * Add note to style docs * Minor docs edit * Some markup changes * Resolve #165 (#415) * Add function for computing gaussian distribution * Typing fix and better default sigma * Address #165 * Fix docs typos and suppress apparently-spurious type error * Target clean also cleans _autosummary directory * Use new TypeAlias declaration * Suppress type error * Avoid pollution of docs with excessively long type alias definition * Add comment as per PR review suggestion * Resolve #83 (#417) * Attempt to remove rtd edit on github button * Bump jaxlib/jax max versions * Remove function no longer in jax.numpy * Resolve #377 (#418) * Fix markup * Docstring edits * Change sphinx theme * Docstring fixes * Theme customization * Clean up * Fix inheritance diagram insertion * Resolve document not in any toctree warning for index.ipynb * Clean up * Update submodule * Adjust css * Avoid problems with dark mode * Add version number in sidebar * Change inheritance diagram color scheme * Clean up * Correct path to docs_requirements --------- Co-authored-by: Thilo Balke <[email protected]> * Implement PR review recommendations --------- Co-authored-by: Thilo Balke <[email protected]> --------- Co-authored-by: Brendt Wohlberg <[email protected]> Co-authored-by: Thilo Balke <[email protected]>
Resolve #165 and modify Sphinx configuration to avoid expansion of the much longer definition of
DType
from making parts of the docs unreadable. Also introduce newTypeAlias
declaration inscico.typing
and add a support function for use in future example scripts.