Skip to content

Commit

Permalink
fix reported linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Oct 24, 2024
1 parent 868a913 commit 763f918
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion client/ayon_third_party/constants.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ADDON_NAME = "ayon_third_party"
ADDON_NAME = "ayon_third_party"
20 changes: 15 additions & 5 deletions create_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,29 +43,39 @@
FFMPEG_SOURCES = {
"windows": {
"url": f"{DISTRIBUTE_SOURCE_URL}/ffmpeg-4.4-windows-2.zip",
"checksum": "5f09109c96a3e53beec042e969653716324b467c66788807e69e81c233e19d20",
"checksum": (
"5f09109c96a3e53beec042e969653716324b467c66788807e69e81c233e19d20"
),
"checksum_algorithm": "sha256",
},
"linux": {
"url": f"{DISTRIBUTE_SOURCE_URL}/ffmpeg-4.4-linux.tgz",
"checksum": "10b9beda57cfbb69b9ed0ce896c0c8d99227b26ca8b9f611040c4752e365cbe9",
"checksum": (
"10b9beda57cfbb69b9ed0ce896c0c8d99227b26ca8b9f611040c4752e365cbe9"
),
"checksum_algorithm": "sha256",
},
"darwin": {
"url": f"{DISTRIBUTE_SOURCE_URL}/ffmpeg-4.4-macos.tgz",
"checksum": "95f43568338c275f80dc0cab1e1836a2e2270f856f0e7b204440d881dd74fbdb",
"checksum": (
"95f43568338c275f80dc0cab1e1836a2e2270f856f0e7b204440d881dd74fbdb"
),
"checksum_algorithm": "sha256",
}
}
OIIO_SOURCES = {
"windows": {
"url": f"{DISTRIBUTE_SOURCE_URL}/oiio_tools-2.3.10-windows.zip",
"checksum": "b9950f5d2fa3720b52b8be55bacf5f56d33f9e029d38ee86534995f3d8d253d2",
"checksum": (
"b9950f5d2fa3720b52b8be55bacf5f56d33f9e029d38ee86534995f3d8d253d2"
),
"checksum_algorithm": "sha256",
},
"linux": {
"url": f"{DISTRIBUTE_SOURCE_URL}/oiio_tools-2.2.20-linux-centos7.tgz",
"checksum": "3894dec7e4e521463891a869586850e8605f5fd604858b674c87323bf33e273d",
"checksum": (
"3894dec7e4e521463891a869586850e8605f5fd604858b674c87323bf33e273d"
),
"checksum_algorithm": "sha256",
}
}
Expand Down
16 changes: 10 additions & 6 deletions server/settings.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
from pydantic import Field, validator
from pydantic import Field

from ayon_server.settings import (
BaseSettingsModel,
task_types_enum,
MultiplatformPathModel,
MultiplatformPathListModel,
)

Expand Down Expand Up @@ -38,7 +36,9 @@ class FFmpegSettings(BaseSettingsModel):
custom_args: CustomFFmpegArgumentsModel = Field(
default_factory=CustomFFmpegArgumentsModel,
title="Custom arguments",
description="Custom arguments that will be used to launch ffmpeg tools",
description=(
"Custom arguments that will be used to launch ffmpeg tools"
),
)


Expand Down Expand Up @@ -82,12 +82,16 @@ class OIIOSettings(BaseSettingsModel):
custom_roots: MultiplatformPathListModel = Field(
default_factory=MultiplatformPathListModel,
title="Custom root",
description="Root to directory where OpenImageIO binaries can be found",
description=(
"Root to directory where OpenImageIO binaries can be found"
),
)
custom_args: CustomOIIOArgumentsModel = Field(
default_factory=CustomOIIOArgumentsModel,
title="Custom arguments",
description="Custom arguments that will be used to launch ffmpeg tools",
description=(
"Custom arguments that will be used to launch ffmpeg tools"
),
)


Expand Down

0 comments on commit 763f918

Please sign in to comment.