Skip to content

Commit

Permalink
Fix: Remove unnecessary import and move import to proper location
Browse files Browse the repository at this point in the history
Moves the import of `importlib` to the proper location to avoid unnecessary imports and potential issues during runtime. This ensures clean and efficient code execution.
  • Loading branch information
RedAtman committed Jul 30, 2024
1 parent 47389e7 commit 52f8bf2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

from importlib import import_module
import logging
import os
import re
Expand All @@ -9,9 +8,6 @@
from typing import Any, ClassVar, Dict, List, Optional, TypedDict
from uuid import uuid4


import_module("utils.logger.init")

import sublime

from .api import Simplenote
Expand Down Expand Up @@ -351,6 +347,7 @@ def get_note_from_filepath(view_absolute_filepath: str):


if __name__ == "__main__":
from importlib import import_module
from pprint import pprint

import_module("_config")
Expand Down

0 comments on commit 52f8bf2

Please sign in to comment.