generated from jCloud/repository-template
style: organize imports
Organized imports according to Ruff (I001).
This commit is contained in:
5 files changed
+6
-8
No files matched your search
@@ -16,14 +16,13 @@ from __future__ import annotations
|
||||
|
||||
import ast
|
||||
import pathlib
|
||||
import shutil
|
||||
from collections.abc import Iterator
|
||||
from dataclasses import dataclass
|
||||
from typing import TypeAlias
|
||||
|
||||
import docstring_parser
|
||||
|
||||
import shutil
|
||||
|
||||
from ...exceptions import (
|
||||
DirectoryNotEmptyError,
|
||||
InvalidNamespaceError,
|
||||
|
||||
@@ -13,11 +13,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
import pathlib
|
||||
import tempfile
|
||||
|
||||
import pytest
|
||||
|
||||
import tempfile
|
||||
|
||||
from jcloud_docsgen.cli.cli import create_argument_parser
|
||||
from jcloud_docsgen.cli.cli import main as cli_main
|
||||
from jcloud_docsgen.cli.languages.python import parse_sections_list
|
||||
|
||||
@@ -13,17 +13,16 @@
|
||||
# limitations under the License.
|
||||
|
||||
import pathlib
|
||||
import tempfile
|
||||
|
||||
import pytest
|
||||
|
||||
import tempfile
|
||||
|
||||
from src.jcloud_docsgen.exceptions import DirectoryNotEmptyError
|
||||
from src.jcloud_docsgen.core.python import PythonDocumentationGenerator
|
||||
from src.jcloud_docsgen.core.python.namespaces import (
|
||||
PythonModuleNamespace,
|
||||
PythonPackageNamespace,
|
||||
)
|
||||
from src.jcloud_docsgen.exceptions import DirectoryNotEmptyError
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
from .exceptions import InvalidEmailError, UserNotFoundError
|
||||
from .models import User
|
||||
from .storage import InMemoryUserStorage
|
||||
from .exceptions import UserNotFoundError, InvalidEmailError
|
||||
from .utils import is_valid_email, normalize_name
|
||||
|
||||
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
from typing import Dict, List
|
||||
|
||||
from .models import User
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user