Skip to content

Commit 81f1611

Browse files
committed
Formatting
1 parent 981e200 commit 81f1611

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pymc/model_graph.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,7 @@ def vars_to_plot(self, var_names: Iterable[str] | None = None) -> list[str]:
293293
# ordering of self._all_var_names is important
294294
return [get_var_name(var) for var in selected_ancestors]
295295

296-
def make_compute_graph(
297-
self, var_names: Iterable[str] | None = None
298-
) -> dict[str, set[str]]:
296+
def make_compute_graph(self, var_names: Iterable[str] | None = None) -> dict[str, set[str]]:
299297
"""Get map of var_name -> set(input var names) for the model."""
300298
model = self.model
301299
named_vars = self._all_vars

pymc/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from collections import namedtuple
1919
from collections.abc import Sequence
2020
from copy import deepcopy
21-
from typing import NewType, cast
21+
from typing import cast
2222

2323
import arviz
2424
import cloudpickle
@@ -32,7 +32,6 @@
3232
from pymc.exceptions import BlockModelAccessError
3333

3434

35-
3635
class _UnsetType:
3736
"""Type for the `UNSET` object to make it look nice in `help(...)` outputs."""
3837

0 commit comments

Comments
 (0)