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
|
started: str
|
||||||
files: List[str]
|
files: List[str]
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Response:
|
class Response:
|
||||||
status: int
|
status: int
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
from dataclasses import dataclass, field
|
from dataclasses import dataclass, field
|
||||||
from typing import Type
|
from typing import Type
|
||||||
|
|
||||||
|
|
||||||
# TODO: unnecessary?
|
# TODO: unnecessary?
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
@ -8,6 +9,7 @@ class PathItem:
|
||||||
name: str
|
name: str
|
||||||
t: Type
|
t: Type
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Path:
|
class Path:
|
||||||
path: list[PathItem] = field(default_factory=list)
|
path: list[PathItem] = field(default_factory=list)
|
||||||
|
|
@ -43,6 +45,7 @@ class Password:
|
||||||
def path(self):
|
def path(self):
|
||||||
return self.group.path.append(self.name, type(self))
|
return self.group.path.append(self.name, type(self))
|
||||||
|
|
||||||
|
|
||||||
class UnencryptedPassword(Password):
|
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)
|
super().__init__(name, group)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class WoodpeckerEvent:
|
class WoodpeckerEvent:
|
||||||
_id: str
|
_id: str
|
||||||
|
|
|
||||||
|
|
@ -38,4 +38,3 @@ class DockerService:
|
||||||
def reload(self, compose_path: Path):
|
def reload(self, compose_path: Path):
|
||||||
cmd = ["sudo", "docker", "compose", "-f", str(compose_path), "up", "-d"]
|
cmd = ["sudo", "docker", "compose", "-f", str(compose_path), "up", "-d"]
|
||||||
# TODO: subprocess
|
# TODO: subprocess
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
|
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