Reformatted files with black #162
This commit is contained in:
parent
dbfae8d8a4
commit
e3c0a0dea3
@ -4,7 +4,6 @@ from werkzeug.exceptions import Unauthorized
|
|||||||
|
|
||||||
|
|
||||||
class ServiceErrorCode(Enum):
|
class ServiceErrorCode(Enum):
|
||||||
|
|
||||||
Unknown = 0
|
Unknown = 0
|
||||||
|
|
||||||
InvalidDependencies = 1
|
InvalidDependencies = 1
|
||||||
|
@ -6,7 +6,6 @@ from bot_core.logging.database_logger import DatabaseLogger
|
|||||||
|
|
||||||
class DBContext(DatabaseContext):
|
class DBContext(DatabaseContext):
|
||||||
def __init__(self, logger: DatabaseLogger):
|
def __init__(self, logger: DatabaseLogger):
|
||||||
|
|
||||||
self._logger = logger
|
self._logger = logger
|
||||||
|
|
||||||
DatabaseContext.__init__(self)
|
DatabaseContext.__init__(self)
|
||||||
|
@ -2,6 +2,5 @@ from enum import Enum
|
|||||||
|
|
||||||
|
|
||||||
class AuthRoleEnum(Enum):
|
class AuthRoleEnum(Enum):
|
||||||
|
|
||||||
normal = 0
|
normal = 0
|
||||||
admin = 1
|
admin = 1
|
||||||
|
@ -12,7 +12,6 @@ from bot_data.model.statistic import Statistic
|
|||||||
|
|
||||||
|
|
||||||
class AddStatisticForm(ui.Modal):
|
class AddStatisticForm(ui.Modal):
|
||||||
|
|
||||||
description = ui.TextInput(label="Beschreibung", required=True)
|
description = ui.TextInput(label="Beschreibung", required=True)
|
||||||
code = ui.TextInput(label="Code", required=True, style=TextStyle.long)
|
code = ui.TextInput(label="Code", required=True, style=TextStyle.long)
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@ class RemoveConfig:
|
|||||||
build: BuildSettings,
|
build: BuildSettings,
|
||||||
post_build: PostBuildSettings,
|
post_build: PostBuildSettings,
|
||||||
):
|
):
|
||||||
|
|
||||||
self._env = env
|
self._env = env
|
||||||
self._workspace = ws
|
self._workspace = ws
|
||||||
self._project = project
|
self._project = project
|
||||||
|
Loading…
Reference in New Issue
Block a user