Skip to content

Commit 654fb5c

Browse files
author
Mauko Quiroga
committed
Update styleguide
1 parent c2e9a5e commit 654fb5c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

STYLEGUIDE.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Whenever possible we should expect:
4242
# Yes
4343

4444
import copy
45+
import typing
4546
from typing import List
4647

4748
import numpy
48-
from numpy.typing import ArrayLike
4949

5050
from openfisca_country_template import entities
5151

@@ -54,6 +54,10 @@ from openfisca_core.variables import Variable
5454

5555
from . import Something
5656

57+
if typing.TYPE_CHECKING:
58+
from numpy.typing import ArrayLike
59+
60+
5761
def do(this: List) -> ArrayLike:
5862
that = copy.deepcopy(this)
5963
array = numpy.ndarray(that)

0 commit comments

Comments
 (0)