diff --git a/jrnl/commands.py b/jrnl/commands.py index e9729d78..a85e97e9 100644 --- a/jrnl/commands.py +++ b/jrnl/commands.py @@ -14,6 +14,7 @@ run. Also, please note that all (non-builtin) imports should be scoped to each function to avoid any possible overhead for these standalone commands. """ + import argparse import logging import platform diff --git a/jrnl/encryption/BaseEncryption.py b/jrnl/encryption/BaseEncryption.py index b0e85dd5..efecd87d 100644 --- a/jrnl/encryption/BaseEncryption.py +++ b/jrnl/encryption/BaseEncryption.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + import logging from abc import ABC from abc import abstractmethod diff --git a/jrnl/encryption/BaseKeyEncryption.py b/jrnl/encryption/BaseKeyEncryption.py index 79940b05..f8c20bc9 100644 --- a/jrnl/encryption/BaseKeyEncryption.py +++ b/jrnl/encryption/BaseKeyEncryption.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + from .BaseEncryption import BaseEncryption diff --git a/jrnl/encryption/BasePasswordEncryption.py b/jrnl/encryption/BasePasswordEncryption.py index 9dfa13fa..29a28b76 100644 --- a/jrnl/encryption/BasePasswordEncryption.py +++ b/jrnl/encryption/BasePasswordEncryption.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + import logging from jrnl.encryption.BaseEncryption import BaseEncryption diff --git a/jrnl/encryption/Jrnlv1Encryption.py b/jrnl/encryption/Jrnlv1Encryption.py index d454f6ef..18a9782b 100644 --- a/jrnl/encryption/Jrnlv1Encryption.py +++ b/jrnl/encryption/Jrnlv1Encryption.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + import hashlib import logging diff --git a/jrnl/encryption/Jrnlv2Encryption.py b/jrnl/encryption/Jrnlv2Encryption.py index 138508ea..97a2ec37 100644 --- a/jrnl/encryption/Jrnlv2Encryption.py +++ b/jrnl/encryption/Jrnlv2Encryption.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + import base64 import logging diff --git a/jrnl/encryption/NoEncryption.py b/jrnl/encryption/NoEncryption.py index a6dd756f..66fa4f80 100644 --- a/jrnl/encryption/NoEncryption.py +++ b/jrnl/encryption/NoEncryption.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + import logging from jrnl.encryption.BaseEncryption import BaseEncryption diff --git a/jrnl/encryption/__init__.py b/jrnl/encryption/__init__.py index 38534595..04a016df 100644 --- a/jrnl/encryption/__init__.py +++ b/jrnl/encryption/__init__.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + from enum import Enum from importlib import import_module from typing import TYPE_CHECKING diff --git a/jrnl/jrnl.py b/jrnl/jrnl.py index 9dadb485..cda124cd 100644 --- a/jrnl/jrnl.py +++ b/jrnl/jrnl.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + import logging import sys from typing import TYPE_CHECKING diff --git a/jrnl/keyring.py b/jrnl/keyring.py index 19d4acd5..8c093ff9 100644 --- a/jrnl/keyring.py +++ b/jrnl/keyring.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + import keyring from jrnl.messages import Message diff --git a/jrnl/override.py b/jrnl/override.py index d200d4e2..695bcf4a 100644 --- a/jrnl/override.py +++ b/jrnl/override.py @@ -1,5 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html + from typing import TYPE_CHECKING from jrnl.config import make_yaml_valid_dict