Add and run isort on Python files (#1520)

* add and run isort

* udpate more import statements

* fix typo
This commit is contained in:
Jonathan Wren 2022-06-25 14:43:32 -07:00 committed by GitHub
parent 20254f7434
commit 0f2962a95f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 223 additions and 203 deletions

View file

@ -1,23 +1,23 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from collections import defaultdict
import os
from pathlib import Path
import tempfile
from collections import defaultdict
from collections.abc import Iterable
from pathlib import Path
from unittest.mock import Mock
from unittest.mock import patch
import toml
from keyring import backend
from keyring import errors
from pytest import fixture
from unittest.mock import patch
from unittest.mock import Mock
from .helpers import get_fixture
import toml
from rich.console import Console
from jrnl.config import load_config
from jrnl.os_compat import split_args
from tests.lib.helpers import get_fixture
# --- Keyring --- #