Skip to content

Commit d95ff09

Browse files
pre-commit-ci[bot]Julian
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d7ed383 commit d95ff09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bowtie/_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,13 +766,13 @@ def _set_dialect(ctx: click.Context, _, value: _Dialect):
766766
if value:
767767
return value
768768
schema = ctx.params.get("schema")
769-
dialect_from_schema: str | None = ( # type: ignore[reportUnknownVariableType]
769+
dialect_from_schema: str | None = ( # type: ignore[reportUnknownVariableType]
770770
schema.get("$schema") # type: ignore[reportUnknownMemberType]
771771
if isinstance(schema, dict)
772772
else None
773773
)
774774
return (
775-
Dialect.from_str(dialect_from_schema) # type: ignore[reportUnknownArgumentType]
775+
Dialect.from_str(dialect_from_schema) # type: ignore[reportUnknownArgumentType]
776776
if dialect_from_schema
777777
else max(Dialect.known())
778778
)

0 commit comments

Comments
 (0)