Skip to content

Commit

Permalink
type-annotate Record
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Apr 1, 2024
1 parent 1c08e1a commit 4899182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pytools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
import sys
from functools import reduce, wraps
from sys import intern
from typing import (cast,
from typing import (
Any, Callable, ClassVar, Dict, Generic, Hashable, Iterable, Iterator, List,
Mapping, Optional, Sequence, Set, Tuple, Type, TypeVar, Union)
Mapping, Optional, Sequence, Set, Tuple, Type, TypeVar, Union, cast)


try:
Expand Down
2 changes: 1 addition & 1 deletion run-mypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -ex

mypy pytools

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

0 comments on commit 4899182

Please sign in to comment.