Skip to content

feat: added debug mode.#16

Merged
pantierra merged 2 commits intomainfrom
feat/add-debug-mode
Jan 30, 2026
Merged

feat: added debug mode.#16
pantierra merged 2 commits intomainfrom
feat/add-debug-mode

Conversation

@pantierra
Copy link
Contributor

No description provided.

@pantierra pantierra requested a review from ciaransweet January 30, 2026 11:55
Comment on lines 22 to 25
@field_validator("DRY_RUN", "DEBUG", mode="before")
@classmethod
def _parse_bool(cls, v: str | bool) -> bool:
return v if isinstance(v, bool) else v.lower() == "true"

Choose a reason for hiding this comment

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

Just noticed this - afaik Pydantic is pretty forgiving with converting strings to bools. Basically any form of "true" in a string, and 1 and yes are set to True if a field is a bool. I don't think we need this parsing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Removed it.

@pantierra pantierra merged commit e9b0ffd into main Jan 30, 2026
1 check passed
Sign up for free to 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.

2 participants