Skip to content

Commit 80b5e86

Browse files
Upgrade dependencies in pre-commit environment
1 parent 4e21ae5 commit 80b5e86

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ repos:
2626
- types-filelock
2727
- types-setuptools
2828
- arviz
29-
- aesara==2.4.0
30-
- aeppl==0.0.26
29+
- aesara==2.5.1
30+
- aeppl==0.0.27
3131
always_run: true
3232
require_serial: true
3333
pass_filenames: false

pymc/distributions/shape_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,4 +618,4 @@ def find_size(
618618

619619
def rv_size_is_none(size: Variable) -> bool:
620620
"""Check wether an rv size is None (ie., at.Constant([]))"""
621-
return size.type.shape == (0,)
621+
return size.type.shape == (0,) # type: ignore [attr-defined]

pymc/sampling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
from aesara.compile.mode import Mode
4747
from aesara.graph.basic import Constant, Variable
48+
from aesara.tensor import TensorVariable
4849
from aesara.tensor.sharedvar import SharedVariable
4950
from arviz import InferenceData
5051
from fastprogress.fastprogress import progress_bar
@@ -1708,6 +1709,8 @@ def sample_posterior_predictive(
17081709
return trace
17091710
return {}
17101711

1712+
inputs: Sequence[TensorVariable]
1713+
input_names: Sequence[str]
17111714
if not hasattr(_trace, "varnames"):
17121715
inputs_and_names = [
17131716
(rv, rv.name)

0 commit comments

Comments
 (0)