diff --git a/faker/providers/isbn/__init__.py b/faker/providers/isbn/__init__.py index 5f5e0493a8..baf83c7e40 100644 --- a/faker/providers/isbn/__init__.py +++ b/faker/providers/isbn/__init__.py @@ -1,8 +1,7 @@ -from typing import List, Tuple +from typing import Dict, List, Tuple from .. import BaseProvider -from .isbn import MAX_LENGTH, ISBN10, ISBN13 -from typing import Dict, List, Tuple +from .isbn import ISBN10, ISBN13, MAX_LENGTH localized = True diff --git a/faker/providers/isbn/es_ES/__init__.py b/faker/providers/isbn/es_ES/__init__.py index 6d18808967..cc705f2a0e 100644 --- a/faker/providers/isbn/es_ES/__init__.py +++ b/faker/providers/isbn/es_ES/__init__.py @@ -1,5 +1,6 @@ from .. import Provider as ISBNProvider + class Provider(ISBNProvider): rules = { "978": { @@ -31,6 +32,6 @@ class Provider(ISBNProvider): ("8750000", "8999999", 5), ("9000000", "9899999", 0), ("9900000", "9999999", 6), - ] + ], }, }