From 84a82134aeab7fbbdf5564b1ec8a58ed50858c18 Mon Sep 17 00:00:00 2001 From: Ram Srivatsa Kannan Date: Thu, 21 Mar 2024 12:53:33 -0700 Subject: [PATCH] Remove linting error for deprecated warning --- service_capacity_modeling/hardware/profiles/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/service_capacity_modeling/hardware/profiles/__init__.py b/service_capacity_modeling/hardware/profiles/__init__.py index faf02d6..8a2ef78 100644 --- a/service_capacity_modeling/hardware/profiles/__init__.py +++ b/service_capacity_modeling/hardware/profiles/__init__.py @@ -13,7 +13,9 @@ current_module = import_module(__name__) common_profiles = {} -with pkg_resources.path(current_module, "profiles.txt") as shape_file: +with pkg_resources.path( + current_module, "profiles.txt" +) as shape_file: # pylint: disable=deprecated-method shapes = Path(shape_file.parent, "shapes") for fd in shapes.glob("**/*.json"): shape = fd.stem