Skip to content

Commit

Permalink
Reformated
Browse files Browse the repository at this point in the history
  • Loading branch information
fkglr committed Mar 14, 2024
1 parent b55c3f9 commit 43eb60c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
14 changes: 12 additions & 2 deletions src/gallia/command/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,12 @@ def entry_point(self) -> int:
return exit_code


class ScriptConfig(BaseCommandConfig, ABC, argument_group=BaseCommandConfig._argument_group, config_section=BaseCommandConfig._config_section):
class ScriptConfig(
BaseCommandConfig,
ABC,
argument_group=BaseCommandConfig._argument_group,
config_section=BaseCommandConfig._config_section,
):
pass


Expand Down Expand Up @@ -346,7 +351,12 @@ def run(self) -> int:
return exitcode.OK


class AsyncScriptConfig(BaseCommandConfig, ABC, argument_group=BaseCommandConfig._argument_group, config_section=BaseCommandConfig._config_section):
class AsyncScriptConfig(
BaseCommandConfig,
ABC,
argument_group=BaseCommandConfig._argument_group,
config_section=BaseCommandConfig._config_section,
):
pass


Expand Down
2 changes: 1 addition & 1 deletion src/gallia/command/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def Field(
class GalliaBaseModel(BaseCommand, ABC):
init_kwargs: dict | None = None
_argument_group: str | None
_config_section : str | None
_config_section: str | None

def __init__(self, **data: Any):
init_kwargs = data.pop("init_kwargs", {})
Expand Down
1 change: 0 additions & 1 deletion src/gallia/commands/primitive/uds/dtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# SPDX-License-Identifier: Apache-2.0

import sys
from functools import partial

from pydantic_argparse import BaseCommand
from tabulate import tabulate
Expand Down
1 change: 0 additions & 1 deletion src/gallia/commands/script/vecu.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# SPDX-License-Identifier: Apache-2.0

import json
import random
import sys
from pathlib import Path
Expand Down

0 comments on commit 43eb60c

Please sign in to comment.