commit cad67a35b25b1447184d1923fbc89c9189f59342
parent 9e174e8cfa389796dd06596021026e8e4d5a6d2a
Author: Andrew D. Laack <andrew@laack.co>
Date: Sat, 21 Jun 2025 00:17:02 -0500
Bug Fix: Resolved issue with glob specifications and the -f option (#5)
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/ratchets/run_tests.py b/src/ratchets/run_tests.py
@@ -621,6 +621,9 @@ def cli():
if Path(path).suffix == ".py" and Path(path).is_file()
]
+ if (paths is None or len(paths) == 0) and path_files is not None:
+ raise FileNotFoundError("No .py files found in the specified locations.")
+
excludes_path = get_excludes_path()
mutex_options = [