Skip to content

Refactor validation into shared utils#100

Open
sureshchouksey8 wants to merge 7 commits into
ApexOpsStudio:mainfrom
sureshchouksey8:extract-validation-utils
Open

Refactor validation into shared utils#100
sureshchouksey8 wants to merge 7 commits into
ApexOpsStudio:mainfrom
sureshchouksey8:extract-validation-utils

Conversation

@sureshchouksey8
Copy link
Copy Markdown

Summary

  • Add a utils package with shared paths and validation modules.
  • Move task description, task file, and task ID validation out of command modules.
  • Update add/list/done commands to import shared helpers without changing behavior.
  • Update tests to import validators from the shared module and cover missing task-file behavior.

Verification

  • python3 -m pytest -q test_task.py - 3 passed
  • python3 -m py_compile task.py commands/*.py utils/*.py test_task.py
  • git diff --check

/claim #3

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.

1 participant