mirror of
https://github.com/rommapp/romm.git
synced 2026-03-03 02:27:00 +00:00
upgrade trunk
This commit is contained in:
@@ -2,41 +2,42 @@
|
||||
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
|
||||
version: 0.1
|
||||
cli:
|
||||
version: 1.22.8
|
||||
version: 1.22.9
|
||||
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
|
||||
plugins:
|
||||
sources:
|
||||
- id: trunk
|
||||
ref: v1.6.5
|
||||
ref: v1.6.6
|
||||
uri: https://github.com/trunk-io/plugins
|
||||
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
|
||||
runtimes:
|
||||
enabled:
|
||||
- go@1.21.0
|
||||
- node@18.12.1
|
||||
- node@18.20.5
|
||||
- python@3.12.2
|
||||
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
|
||||
lint:
|
||||
enabled:
|
||||
- pyright@1.1.392
|
||||
- markdownlint@0.43.0
|
||||
- eslint@9.16.0
|
||||
- actionlint@1.7.4
|
||||
- bandit@1.8.0
|
||||
- eslint@9.18.0
|
||||
- actionlint@1.7.7
|
||||
- bandit@1.8.2
|
||||
- black@24.10.0
|
||||
- checkov@3.2.332
|
||||
- checkov@3.2.357
|
||||
- git-diff-check
|
||||
- isort@5.13.2
|
||||
- mypy@1.13.0
|
||||
- osv-scanner@1.9.1
|
||||
- mypy@1.14.1
|
||||
- osv-scanner@1.9.2
|
||||
- oxipng@9.1.3
|
||||
- prettier@3.4.2
|
||||
- ruff@0.8.2
|
||||
- ruff@0.9.3
|
||||
- shellcheck@0.10.0
|
||||
- shfmt@3.6.0
|
||||
- svgo@3.3.2
|
||||
- taplo@0.9.3
|
||||
- trivy@0.56.2
|
||||
- trufflehog@3.85.0
|
||||
- trivy@0.58.2
|
||||
- trufflehog@3.88.2
|
||||
- yamllint@1.35.1
|
||||
ignore:
|
||||
- linters: [ALL]
|
||||
|
||||
@@ -3,8 +3,8 @@ from base64 import b64encode
|
||||
from datetime import datetime, timezone
|
||||
from io import BytesIO
|
||||
from shutil import rmtree
|
||||
from urllib.parse import quote
|
||||
from typing import Any
|
||||
from urllib.parse import quote
|
||||
|
||||
from anyio import Path
|
||||
from config import (
|
||||
@@ -394,7 +394,7 @@ async def update_rom(
|
||||
rom = db_rom_handler.get_rom(id)
|
||||
if not rom:
|
||||
raise RomNotFoundInDatabaseException(id)
|
||||
|
||||
|
||||
return DetailedRomSchema.from_orm_with_request(rom, request)
|
||||
|
||||
cleaned_data: dict[str, Any] = {
|
||||
|
||||
Reference in New Issue
Block a user