Skip to content

Commit b12c189

Browse files
lucianopazricardoV94
authored andcommitted
Update mypy to version 0.981
1 parent 372d7c2 commit b12c189

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
exclude: ^requirements-dev\.txt$
1515
- id: trailing-whitespace
1616
- repo: https://github.com/pre-commit/mirrors-mypy
17-
rev: v0.971
17+
rev: v0.981
1818
hooks:
1919
- id: mypy
2020
name: Run static type checks

pymc/blocking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import collections
2121

2222
from functools import partial
23-
from typing import Callable, Dict, Optional, TypeVar
23+
from typing import Callable, Dict, Generic, Optional, TypeVar
2424

2525
import numpy as np
2626

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

3737

38-
class Compose:
38+
class Compose(Generic[T]):
3939
"""
4040
Compose two functions in a pickleable way
4141
"""

0 commit comments

Comments
 (0)