From a897ceca02b78a9426652ac3092c79278cdc681c Mon Sep 17 00:00:00 2001 From: pi coding agent Date: Thu, 22 Oct 2026 18:59:33 +0000 Subject: Move scripts into the uploader package Move the top-level `scripts` package to `uploader/scripts` so that it becomes the `uploader.scripts` package. All files are moved unchanged; references are updated in a follow-up commit. --- scripts/cli/validators.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 scripts/cli/validators.py (limited to 'scripts/cli/validators.py') diff --git a/scripts/cli/validators.py b/scripts/cli/validators.py deleted file mode 100644 index dc198f5..0000000 --- a/scripts/cli/validators.py +++ /dev/null @@ -1,18 +0,0 @@ -"""CLI options validators.""" -from pathlib import Path - - -def file_exists(val: str) -> Path: - """Ensure the file path specified actually exists.""" - _file = Path(val) - if _file.exists() and _file.is_file(): - return _file - raise FileNotFoundError(f"Could not find the file '{_file}'.") - - -def directory_exists(val: str) -> Path: - """Check that directory path specified actually exists.""" - _dir = Path(val).absolute() - if _dir.is_dir() and _dir.exists(): - return _dir - raise FileNotFoundError(f"The path '{_dir}' MUST exist and be a directory.") -- cgit 1.4.1