Reformatted files with black #162

This commit is contained in:
Sven Heidemann 2023-02-07 17:07:25 +01:00
parent dbfae8d8a4
commit e3c0a0dea3
5 changed files with 0 additions and 5 deletions

View File

@ -4,7 +4,6 @@ from werkzeug.exceptions import Unauthorized
class ServiceErrorCode(Enum): class ServiceErrorCode(Enum):
Unknown = 0 Unknown = 0
InvalidDependencies = 1 InvalidDependencies = 1

View File

@ -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)

View File

@ -2,6 +2,5 @@ from enum import Enum
class AuthRoleEnum(Enum): class AuthRoleEnum(Enum):
normal = 0 normal = 0
admin = 1 admin = 1

View File

@ -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)

View File

@ -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