Skip to content

Commit e37635e

Browse files
authored
Fix mypy check with new blinker version (pynamodb#1173)
1 parent c84c844 commit e37635e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pynamodb/signals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def _fail(self, *args, **kwargs):
3939
try:
4040
from blinker import Namespace
4141
signals_available = True
42-
except ImportError: # pragma: no cover
43-
Namespace = _FakeNamespace
42+
except ImportError: # pragma: no cover
43+
Namespace = _FakeNamespace # type:ignore
4444

4545
# The namespace for code signals. If you are not PynamoDB code, do
4646
# not put signals in here. Create your own namespace instead.

requirements-dev.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ pytest-mock
44

55
# only used in CI
66
coveralls
7-
mypy==0.990
8-
typing-extensions==4.3.0
7+
mypy==1.2.0
8+
typing-extensions==4.5.0
99
pytest-cov
10+
blinker==1.6.2
1011

1112
# used for type-checking
1213
botocore-stubs

0 commit comments

Comments
 (0)