Skip to content

Commit bfbd546

Browse files
type-annotate Record
1 parent 1c08e1a commit bfbd546

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pytools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from sys import intern
3838
from typing import (cast,
3939
Any, Callable, ClassVar, Dict, Generic, Hashable, Iterable, Iterator, List,
40-
Mapping, Optional, Sequence, Set, Tuple, Type, TypeVar, Union)
40+
Mapping, Optional, Sequence, Set, Tuple, Type, TypeVar, Union, cast)
4141

4242

4343
try:

run-mypy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -ex
44

55
mypy pytools
66

7-
mypy --strict pytools/datatable.py
7+
mypy --strict --follow-imports=skip pytools/datatable.py

0 commit comments

Comments
 (0)