Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 3, 2023
1 parent 55d6e2d commit 9a4cd6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions strawberry/cli/commands/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import importlib
import inspect
import warnings
from pathlib import Path # noqa: TCH003
from pathlib import Path
from typing import TYPE_CHECKING, List, Optional, Type

import rich
Expand Down Expand Up @@ -147,7 +147,9 @@ def on_end(self, result: CodegenResult) -> None:

@app.command(help="Generate code from a query")
def codegen(
query: Optional[List[Path]] = typer.Argument(default=None, exists=True, dir_okay=False),
query: Optional[List[Path]] = typer.Argument(
default=None, exists=True, dir_okay=False
),
schema: str = typer.Option(..., help="Python path to the schema file"),
app_dir: str = typer.Option(
".",
Expand Down

0 comments on commit 9a4cd6b

Please sign in to comment.