Skip to content

Extract shared validation utilities#88

Open
Wheezily wants to merge 1 commit into
ApexOpsStudio:mainfrom
Wheezily:bounty/refactor-validation-utils
Open

Extract shared validation utilities#88
Wheezily wants to merge 1 commit into
ApexOpsStudio:mainfrom
Wheezily:bounty/refactor-validation-utils

Conversation

@Wheezily
Copy link
Copy Markdown

Closes #3.

Changes:

  • Adds commands/utils.py for shared validation helpers.
  • Reuses validate_description, validate_task_id, and get_tasks_file from command modules.
  • Updates tests to import validation helpers from the shared module.

Validation:

  • python -m compileall task.py commands test_task.py
  • direct smoke test for the validation helpers

Note: pytest is not installed in this local environment, so I validated with standard Python checks.

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.

Refactor: Extract validation to utils module

1 participant