mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
fix(salary): reject non-finite converter baselines (#665)
* fix(salary): reject non-finite converter baselines * changelog: place the #665 entry under [Unreleased] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: GAPIT-KIENTH\kienth <kienth@gapit.com.vn> Co-authored-by: Mads Lorentzen <madslorentzen_17@hotmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
3 files changed
+67
No files matched your search
@@ -398,6 +398,9 @@ def main():
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
if not math.isfinite(args.baseline):
|
||||
parser.error("--baseline must be a finite number")
|
||||
|
||||
excel_path = Path(args.excel_file)
|
||||
if not excel_path.exists():
|
||||
print(f"Error: File not found: {excel_path}", file=sys.stderr)
|
||||
|
||||
Reference in new issue
Block a user