Skip to content

emrg: tighten except in glob_tool and add workdir error test - #22

Merged
argszero merged 1 commit into
masterfrom
fix/tighten-glob-tool-except
Jul 18, 2026
Merged

emrg: tighten except in glob_tool and add workdir error test#22
argszero merged 1 commit into
masterfrom
fix/tighten-glob-tool-except

Conversation

@argszero

Copy link
Copy Markdown
Owner

Two small improvements:\n\n1. emrg/tools/glob_tool.py: except Exception as eexcept (OSError, ValueError) as ePath.glob() only raises these two types.\n2. tests/test_glob_tool.py: Added test_glob_invalid_workdir to validate the non-existent/invalid workdir error path.

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #21

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #22

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #23

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@argszero