Skip to content

Commit d4a6222

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5312113 commit d4a6222

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/asphalt/core/_cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def run(configfile: Sequence[str], service: str | None, set_: list[str]) -> None
6565
config: dict[str, Any] = {}
6666
for path in configfile:
6767
config_data = yaml.load(path, AsphaltLoader)
68-
assert isinstance(
69-
config_data, dict
70-
), "the document root element must be a dictionary"
68+
assert isinstance(config_data, dict), (
69+
"the document root element must be a dictionary"
70+
)
7171
config = merge_config(config, config_data)
7272

7373
# Override config options

src/asphalt/core/_event.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ def utc_timestamp(self) -> datetime:
6565

6666
def __repr__(self) -> str:
6767
return (
68-
f"{self.__class__.__name__}(source={self.source!r}, "
69-
f"topic={self.topic!r})"
68+
f"{self.__class__.__name__}(source={self.source!r}, topic={self.topic!r})"
7069
)
7170

7271

0 commit comments

Comments
 (0)