Skip to content

Conversation

@williambdean
Copy link
Contributor

Description

Better typing and auto-completion support for pymc.math.

import pymc as pm

pm.math.  # <- auto-completion works here and LSP clients happier too

Related Issue

Checklist

Type of change

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

@github-actions github-actions bot added the bug label Nov 17, 2025
@ricardoV94 ricardoV94 changed the title fix: typing with import pymc as pm; pm.math Import math module in root Nov 17, 2025
@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.33%. Comparing base (869503b) to head (252b7ff).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7965      +/-   ##
==========================================
- Coverage   91.49%   90.33%   -1.16%     
==========================================
  Files         116      116              
  Lines       18962    18962              
==========================================
- Hits        17349    17130     -219     
- Misses       1613     1832     +219     
Files with missing lines Coverage Δ
pymc/__init__.py 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

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

@ricardoV94 ricardoV94 merged commit bedbb17 into pymc-devs:main Nov 17, 2025
23 of 26 checks passed
@ricardoV94
Copy link
Member

Thanks @williambdean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: pymc.__init__ should import math?

2 participants