From 7464196de2d903950d8d8b4e288da9594d09eeac Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 20:20:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/AutoSplitImage.py | 2 +- src/capture_method/CaptureMethodBase.py | 2 +- src/capture_method/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AutoSplitImage.py b/src/AutoSplitImage.py index fd2ae8d9..fb1409bf 100644 --- a/src/AutoSplitImage.py +++ b/src/AutoSplitImage.py @@ -32,7 +32,7 @@ class ImageType(IntEnum): START = 2 -class AutoSplitImage(): +class AutoSplitImage: path: str filename: str flags: int diff --git a/src/capture_method/CaptureMethodBase.py b/src/capture_method/CaptureMethodBase.py index bc078b50..1b7c9a50 100644 --- a/src/capture_method/CaptureMethodBase.py +++ b/src/capture_method/CaptureMethodBase.py @@ -10,7 +10,7 @@ from AutoSplit import AutoSplit -class CaptureMethodBase(): +class CaptureMethodBase: name = "None" short_description = "" description = "" diff --git a/src/capture_method/__init__.py b/src/capture_method/__init__.py index 31c3f036..7dfb78ed 100644 --- a/src/capture_method/__init__.py +++ b/src/capture_method/__init__.py @@ -126,7 +126,7 @@ def change_capture_method(selected_capture_method: CaptureMethodEnum, autosplit: @dataclass -class CameraInfo(): +class CameraInfo: device_id: int name: str occupied: bool