Skip to content

Commit 77d5808

Browse files
MattiSGMauko Quiroga
andcommitted
Unify import styles
Co-authored-by: Mauko Quiroga <hello@mauko.me>
1 parent 4faafff commit 77d5808

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

openfisca_core/parameters.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import os
1111
import sys
1212
import traceback
13-
import typing
1413

1514
import yaml
1615
import numpy as np
@@ -37,7 +36,7 @@
3736
# 'unit' and 'reference' are only listed here for backward compatibility.
3837
# It is now recommended to include them in metadata, until a common consensus emerges.
3938
COMMON_KEYS = {'description', 'metadata', 'unit', 'reference', 'documentation'}
40-
ALLOWED_PARAM_TYPES = (float, int, bool, type(None), typing.List)
39+
ALLOWED_PARAM_TYPES = (float, int, bool, type(None), List)
4140

4241

4342
def date_constructor(loader, node):

0 commit comments

Comments
 (0)