Skip to content

Use rst code-block over code:: #7882

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

williambdean
Copy link
Contributor

@williambdean williambdean commented Jul 30, 2025

Description

The previous version doesn't show up in hover. .. code-block:: python is the correct directive to use for Python code blocks in Sphinx documentation.

Related Issue

  • Closes #
  • Related to #

Checklist

Type of change

  • New feature / enhancement
  • Bug fix
  • Documentation
  • Maintenance
  • Other (please specify):

📚 Documentation preview 📚: https://pymc--7882.org.readthedocs.build/en/7882/

@williambdean
Copy link
Contributor Author

Sorry about the auto format

@williambdean
Copy link
Contributor Author

vim motions for the win

Screen.Recording.2025-07-30.at.4.48.52.PM.mov

Copy link

codecov bot commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.94%. Comparing base (58b49f2) to head (31b9f57).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
pymc/gp/gp.py 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #7882   +/-   ##
=======================================
  Coverage   92.94%   92.94%           
=======================================
  Files         116      116           
  Lines       18845    18851    +6     
=======================================
+ Hits        17516    17522    +6     
  Misses       1329     1329           
Files with missing lines Coverage Δ
pymc/distributions/discrete.py 99.42% <ø> (ø)
pymc/distributions/multivariate.py 93.91% <ø> (ø)
pymc/gp/cov.py 98.66% <ø> (ø)
pymc/gp/hsgp_approx.py 88.39% <ø> (ø)
pymc/model/core.py 93.38% <ø> (ø)
pymc/pytensorf.py 89.73% <ø> (ø)
pymc/sampling/deterministic.py 94.73% <ø> (ø)
pymc/sampling/forward.py 96.73% <ø> (ø)
pymc/sampling/mcmc.py 91.37% <ø> (ø)
pymc/variational/opvi.py 86.75% <ø> (ø)
... and 1 more

... and 1 file with indirect coverage changes

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

@williambdean
Copy link
Contributor Author

Any issues with this?

Copy link
Member

@ricardoV94 ricardoV94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minot suggestion

@ricardoV94 ricardoV94 requested a review from OriolAbril August 1, 2025 21:34
williambdean and others added 2 commits August 1, 2025 17:44
Co-authored-by: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com>
@williambdean
Copy link
Contributor Author

Thanks for the review. I've reformatted with the comma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants