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 ast
|
||||||
import pathlib
|
import pathlib
|
||||||
|
import shutil
|
||||||
from collections.abc import Iterator
|
from collections.abc import Iterator
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from typing import TypeAlias
|
from typing import TypeAlias
|
||||||
|
|
||||||
import docstring_parser
|
import docstring_parser
|
||||||
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
from ...exceptions import (
|
from ...exceptions import (
|
||||||
DirectoryNotEmptyError,
|
DirectoryNotEmptyError,
|
||||||
InvalidNamespaceError,
|
InvalidNamespaceError,
|
||||||
|
|||||||
@@ -13,11 +13,10 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import pathlib
|
import pathlib
|
||||||
|
import tempfile
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
import tempfile
|
|
||||||
|
|
||||||
from jcloud_docsgen.cli.cli import create_argument_parser
|
from jcloud_docsgen.cli.cli import create_argument_parser
|
||||||
from jcloud_docsgen.cli.cli import main as cli_main
|
from jcloud_docsgen.cli.cli import main as cli_main
|
||||||
from jcloud_docsgen.cli.languages.python import parse_sections_list
|
from jcloud_docsgen.cli.languages.python import parse_sections_list
|
||||||
|
|||||||
@@ -13,17 +13,16 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import pathlib
|
import pathlib
|
||||||
|
import tempfile
|
||||||
|
|
||||||
import pytest
|
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 import PythonDocumentationGenerator
|
||||||
from src.jcloud_docsgen.core.python.namespaces import (
|
from src.jcloud_docsgen.core.python.namespaces import (
|
||||||
PythonModuleNamespace,
|
PythonModuleNamespace,
|
||||||
PythonPackageNamespace,
|
PythonPackageNamespace,
|
||||||
)
|
)
|
||||||
|
from src.jcloud_docsgen.exceptions import DirectoryNotEmptyError
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
|
from .exceptions import InvalidEmailError, UserNotFoundError
|
||||||
from .models import User
|
from .models import User
|
||||||
from .storage import InMemoryUserStorage
|
from .storage import InMemoryUserStorage
|
||||||
from .exceptions import UserNotFoundError, InvalidEmailError
|
|
||||||
from .utils import is_valid_email, normalize_name
|
from .utils import is_valid_email, normalize_name
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
@@ -1,4 +1,5 @@
|
|||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
|
|
||||||
from .models import User
|
from .models import User
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user