We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2e9a5e commit 654fb5cCopy full SHA for 654fb5c
1 file changed
STYLEGUIDE.md
@@ -42,10 +42,10 @@ Whenever possible we should expect:
42
# Yes
43
44
import copy
45
+import typing
46
from typing import List
47
48
import numpy
-from numpy.typing import ArrayLike
49
50
from openfisca_country_template import entities
51
@@ -54,6 +54,10 @@ from openfisca_core.variables import Variable
54
55
from . import Something
56
57
+if typing.TYPE_CHECKING:
58
+ from numpy.typing import ArrayLike
59
+
60
61
def do(this: List) -> ArrayLike:
62
that = copy.deepcopy(this)
63
array = numpy.ndarray(that)
0 commit comments