Global formatting fix

This commit is contained in:
Piotr Dec 2025-11-03 22:42:37 +01:00
parent 700ef25358
commit 324938133f
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0
5 changed files with 7 additions and 3 deletions

View file

@ -10,6 +10,7 @@ class Request:
started: str
files: List[str]
@dataclass
class Response:
status: int

View file

@ -1,6 +1,7 @@
from dataclasses import dataclass, field
from typing import Type
# TODO: unnecessary?
@dataclass
@ -8,6 +9,7 @@ class PathItem:
name: str
t: Type
@dataclass
class Path:
path: list[PathItem] = field(default_factory=list)
@ -43,6 +45,7 @@ class Password:
def path(self):
return self.group.path.append(self.name, type(self))
class UnencryptedPassword(Password):
def __init__(self, name: str, value: str, group: Group):
super().__init__(name, group)

View file

@ -1,6 +1,7 @@
from dataclasses import dataclass
from typing import List
@dataclass
class WoodpeckerEvent:
_id: str

View file

@ -38,4 +38,3 @@ class DockerService:
def reload(self, compose_path: Path):
cmd = ["sudo", "docker", "compose", "-f", str(compose_path), "up", "-d"]
# TODO: subprocess

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>{{ title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<style>
body {
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";