diff --git a/geopackage_validator/validations/__init__.py b/geopackage_validator/validations/__init__.py index 0a43cf4..8ed2e0a 100644 --- a/geopackage_validator/validations/__init__.py +++ b/geopackage_validator/validations/__init__.py @@ -29,7 +29,10 @@ from geopackage_validator.validations.geometry_dimension_check import ( GeometryDimensionValidator, ) -from geopackage_validator.validations.name_length_check import NameLengthValidator, NameLengthValidatorV0 +from geopackage_validator.validations.name_length_check import ( + NameLengthValidator, + NameLengthValidatorV0, +) __all__ = [ # Requirements diff --git a/geopackage_validator/validations/name_length_check.py b/geopackage_validator/validations/name_length_check.py index 05ed3fb..6e8f174 100644 --- a/geopackage_validator/validations/name_length_check.py +++ b/geopackage_validator/validations/name_length_check.py @@ -6,6 +6,7 @@ LEGACY_MAX_LENGTH = 53 MAX_LENGTH = 57 + def query_names(dataset) -> Iterable[Tuple[str, str, int]]: tables = utils.dataset_geometry_tables(dataset)