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 Jan 8, 2024
1 parent 4bcc0a6 commit dbd0bfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/runboat/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ class Settings(BaseSettings):
# The wildcard domain where the builds will be reacheable.
build_domain: str
# A dictionary of environment variables to set in the build container and jobs.
build_env: dict[str, str] = {} # noqa: RUF012
build_env: dict[str, str] = {}
# A dictionary of secret environment variables to set in the build container and
# jobs.
build_secret_env: dict[str, str] = {} # noqa: RUF012
build_secret_env: dict[str, str] = {}
# A dictionary of variables to be set in the jinja rendering context for the
# kubefiles.
build_template_vars: dict[str, str] = {} # noqa: RUF012
build_template_vars: dict[str, str] = {}
# The path of the default kubefiles to be used.
build_default_kubefiles_path: Annotated[
Path | None, BeforeValidator(validate_path)
Expand Down
2 changes: 1 addition & 1 deletion src/runboat/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def inner(*args: Any, **kwargs: Any) -> R:


def sync_to_async_iterator(
iterator_func: Callable[P, Generator[R, None, None]]
iterator_func: Callable[P, Generator[R, None, None]],
) -> Callable[P, AsyncGenerator[R, None]]:
@sync_to_async
def async_next(iterator: Iterator[R]) -> R:
Expand Down

0 comments on commit dbd0bfb

Please sign in to comment.