Global formatting fix
This commit is contained in:
parent
700ef25358
commit
324938133f
5 changed files with 7 additions and 3 deletions
|
|
@ -10,6 +10,7 @@ class Request:
|
|||
started: str
|
||||
files: List[str]
|
||||
|
||||
|
||||
@dataclass
|
||||
class Response:
|
||||
status: int
|
||||
|
|
|
|||
|
|
@ -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,7 +45,8 @@ 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):
|
||||
def __init__(self, name: str, value: str, group: Group):
|
||||
super().__init__(name, group)
|
||||
self.value = value
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
from dataclasses import dataclass
|
||||
from typing import List
|
||||
|
||||
|
||||
@dataclass
|
||||
class WoodpeckerEvent:
|
||||
_id: str
|
||||
|
|
|
|||
|
|
@ -38,4 +38,3 @@ class DockerService:
|
|||
def reload(self, compose_path: Path):
|
||||
cmd = ["sudo", "docker", "compose", "-f", str(compose_path), "up", "-d"]
|
||||
# TODO: subprocess
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue