diff --git a/service_capacity_modeling/hardware/profiles/__init__.py b/service_capacity_modeling/hardware/profiles/__init__.py index faf02d6..bcff348 100644 --- a/service_capacity_modeling/hardware/profiles/__init__.py +++ b/service_capacity_modeling/hardware/profiles/__init__.py @@ -9,11 +9,12 @@ from service_capacity_modeling.hardware import load_hardware_from_disk from pathlib import Path - current_module = import_module(__name__) common_profiles = {} -with pkg_resources.path(current_module, "profiles.txt") as shape_file: +with pkg_resources.path( # pylint: disable=deprecated-method + current_module, "profiles.txt" +) as shape_file: shapes = Path(shape_file.parent, "shapes") for fd in shapes.glob("**/*.json"): shape = fd.stem