Skip to content

Commit

Permalink
Auto-fix lint and format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
octavia-squidington-iii committed Feb 28, 2025
1 parent c8f9a7a commit 3719e7c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1409,8 +1409,11 @@ def _get_class_from_fully_qualified_class_name(
# During testing, the modules containing the custom components are not moved to source_declarative_manifest. In order to run the test, add the source folder to your PYTHONPATH or add it runtime using sys.path.append
try:
import os

module_name_with_source_declarative_manifest = ".".join(split[1:-1])
module_ref = importlib.import_module(module_name_with_source_declarative_manifest)
module_ref = importlib.import_module(
module_name_with_source_declarative_manifest
)
except ModuleNotFoundError:
raise ValueError(f"Could not load module `{module_name_full}`.") from e
else:
Expand Down

0 comments on commit 3719e7c

Please sign in to comment.