From 1a62499167f1664efa92123a5d795c3d1a2f37d4 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 2 Oct 2023 20:38:09 +0300 Subject: [PATCH] show files to process always --- image_classifier/image_classifier.py | 4 ++-- setup.cfg | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/image_classifier/image_classifier.py b/image_classifier/image_classifier.py index 91d39b6..4f65b31 100755 --- a/image_classifier/image_classifier.py +++ b/image_classifier/image_classifier.py @@ -85,7 +85,7 @@ class image_classifier: if count > limit: break entries.append(entry) - self._log.debug(f"Processing {len(entries)} files...") + self._log.info(f"Processing {len(entries)} files...") for entry in entries: if not entry.name.startswith('.') and entry.is_file(): self.process_file(entry.path) @@ -423,7 +423,7 @@ https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior' ) @click.option( '--limit', '-l', - default=1000, + default=10, help='Limit the number of files to process' ) @click_config_file.configuration_option() diff --git a/setup.cfg b/setup.cfg index cd57052..d118c6b 100755 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = image_classifier -version = 0.0.13 +version = 0.0.14 [options] packages = image_classifier diff --git a/setup.py b/setup.py index 7eb17fc..be07574 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ if os.access(requirements_file, os.R_OK): setuptools.setup( scripts=['image_classifier/image_classifier.py'], author="Antonio J. Delgado", - version='0.0.13', + version='0.0.14', name='image_classifier', author_email="antoniodelgado@susurrando.com", url="",