Skip to content

Commit

Permalink
style: lint import order
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBolha committed Dec 5, 2024
1 parent e7a7950 commit 9e75b91
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 25 deletions.
5 changes: 2 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
from flask import Flask, Request, Response, request

from config_processors.config_processor import ConfigProcessor
from config_processors.config_processors_initializer import (
ConfigProcessorsInitializer,
)
from config_processors.config_processors_initializer import \
ConfigProcessorsInitializer
from utils.config_loader import ConfigLoader
from utils.data_validator import validate_data
from utils.signature_validator import SignatureValidator
Expand Down
5 changes: 2 additions & 3 deletions config_processors/config_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@

from flask import Request

from config_version_managers.config_version_manager_initializer import (
ConfigVersionManagerInitializer,
)
from config_version_managers.config_version_manager_initializer import \
ConfigVersionManagerInitializer


class ConfigProcessor(ABC):
Expand Down
14 changes: 5 additions & 9 deletions config_version_managers/config_version_manager_initializer.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
from config_version_managers.config_version_manager import (
ConfigVersionManager,
)
from config_version_managers.git_config_version_manager import (
GitConfigVersionManager,
)
from config_version_managers.local_config_version_manager import (
LocalConfigVersionManager,
)
from config_version_managers.config_version_manager import ConfigVersionManager
from config_version_managers.git_config_version_manager import \
GitConfigVersionManager
from config_version_managers.local_config_version_manager import \
LocalConfigVersionManager
from enums.config_version_manager_type import ConfigVersionManagerType


Expand Down
6 changes: 2 additions & 4 deletions config_version_managers/file_config_version_manager.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import json
from abc import abstractmethod
from typing import Dict, Any
from typing import Any, Dict

import yaml

from config_version_managers.config_version_manager import (
ConfigVersionManager,
)
from config_version_managers.config_version_manager import ConfigVersionManager
from enums.config_file_format import ConfigFileFormat


Expand Down
5 changes: 2 additions & 3 deletions config_version_managers/git_config_version_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
from dulwich.porcelain import status
from dulwich.repo import Repo

from config_version_managers.file_config_version_manager import (
FileConfigVersionManager,
)
from config_version_managers.file_config_version_manager import \
FileConfigVersionManager


class GitConfigVersionManager(FileConfigVersionManager):
Expand Down
5 changes: 2 additions & 3 deletions config_version_managers/local_config_version_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
from pathlib import Path
from typing import Any

from config_version_managers.file_config_version_manager import (
FileConfigVersionManager,
)
from config_version_managers.file_config_version_manager import \
FileConfigVersionManager
from enums.config_file_format import ConfigFileFormat


Expand Down

0 comments on commit 9e75b91

Please sign in to comment.