Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
exclude: ^requirements-dev\.txt$
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
rev: v0.981
hooks:
- id: mypy
name: Run static type checks
Expand Down
4 changes: 2 additions & 2 deletions pymc/blocking.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import collections

from functools import partial
from typing import Callable, Dict, Optional, TypeVar
from typing import Callable, Dict, Generic, Optional, TypeVar

import numpy as np

Expand All @@ -35,7 +35,7 @@
RaveledVars = collections.namedtuple("RaveledVars", "data, point_map_info")


class Compose:
class Compose(Generic[T]):
"""
Compose two functions in a pickleable way
"""
Expand Down