Skip to content

Commit 4899182

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pytools/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
import sys
3636
from functools import reduce, wraps
3737
from sys import intern
38-
from typing import (cast,
38+
from typing import (
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)