Upgrade linters, use ruff-format
This commit is contained in:
parent
6940ec9700
commit
6f7469be2a
2 changed files with 6 additions and 9 deletions
|
|
@ -1,18 +1,15 @@
|
|||
default_language_version:
|
||||
python: python3
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: check-toml
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: v0.0.252
|
||||
rev: v0.1.6
|
||||
hooks:
|
||||
- id: ruff
|
||||
- id: ruff-format
|
||||
|
|
|
|||
|
|
@ -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] = {}
|
||||
build_env: dict[str, str] = {} # noqa: RUF012
|
||||
# A dictionary of secret environment variables to set in the build container and
|
||||
# jobs.
|
||||
build_secret_env: dict[str, str] = {}
|
||||
build_secret_env: dict[str, str] = {} # noqa: RUF012
|
||||
# A dictionary of variables to be set in the jinja rendering context for the
|
||||
# kubefiles.
|
||||
build_template_vars: dict[str, str] = {}
|
||||
build_template_vars: dict[str, str] = {} # noqa: RUF012
|
||||
# The path of the default kubefiles to be used.
|
||||
build_default_kubefiles_path: Annotated[
|
||||
Path | None, BeforeValidator(validate_path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue