From 5504231a9d3aced3367e4fb666e349cacd94b75e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 05:37:11 +0000 Subject: [PATCH] chore(deps): update dependency black to v24 (#57) * chore(deps): update dependency black to v24 * black: fixes for v24 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: thorpejosh --- image_sorting_tool/__init__.py | 1 + image_sorting_tool/__main__.py | 1 + image_sorting_tool/gui.py | 1 + image_sorting_tool/image_sort.py | 1 + image_sorting_tool/tests/test_image_sort.py | 1 + setup.py | 3 ++- 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/image_sorting_tool/__init__.py b/image_sorting_tool/__init__.py index 05254aa..220cb80 100644 --- a/image_sorting_tool/__init__.py +++ b/image_sorting_tool/__init__.py @@ -1,3 +1,4 @@ """Image-sorting-tool """ + __version__ = "1.0.2.dev" diff --git a/image_sorting_tool/__main__.py b/image_sorting_tool/__main__.py index a0c8b6a..a7fb5bd 100644 --- a/image_sorting_tool/__main__.py +++ b/image_sorting_tool/__main__.py @@ -1,6 +1,7 @@ """ Image sorting tool module. This script launches a tkinter GUI that allows images to be sorted based on their date taken. """ + import argparse import logging from image_sorting_tool.gui import GUI diff --git a/image_sorting_tool/gui.py b/image_sorting_tool/gui.py index 64a84bb..1db859c 100644 --- a/image_sorting_tool/gui.py +++ b/image_sorting_tool/gui.py @@ -1,5 +1,6 @@ """ Image sorting tool tkinter GUI module """ + import sys import logging import time diff --git a/image_sorting_tool/image_sort.py b/image_sorting_tool/image_sort.py index 057b6d0..0543e64 100644 --- a/image_sorting_tool/image_sort.py +++ b/image_sorting_tool/image_sort.py @@ -1,5 +1,6 @@ """ Image sorting tool code that performs the parallel sorting operation """ + import logging import multiprocessing import os diff --git a/image_sorting_tool/tests/test_image_sort.py b/image_sorting_tool/tests/test_image_sort.py index fdd868a..a6adbc3 100644 --- a/image_sorting_tool/tests/test_image_sort.py +++ b/image_sorting_tool/tests/test_image_sort.py @@ -1,5 +1,6 @@ """Unit tests for the image_sort module """ + import os import sys import shutil diff --git a/setup.py b/setup.py index 8946f0d..32db38e 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Setup module to allow packaging, distributing and pip installing""" + from setuptools import setup from image_sorting_tool import __version__ as version @@ -7,7 +8,7 @@ "dev": [ "pytest==8.0.*", "pylint==3.0.*", - "black==23.12.*", + "black==24.1.*", "setuptools==69.0.*", ] }