Skip to content

Refactor: Extract validation to utils module (closes #3)#114

Open
cyrillical00 wants to merge 1 commit into
ApexOpsStudio:mainfrom
cyrillical00:refactor/extract-validation-to-utils
Open

Refactor: Extract validation to utils module (closes #3)#114
cyrillical00 wants to merge 1 commit into
ApexOpsStudio:mainfrom
cyrillical00:refactor/extract-validation-to-utils

Conversation

@cyrillical00

Copy link
Copy Markdown

Resolves #3

Changes

  • Created utils/validation.py with validate_description, validate_task_file, validate_task_id
  • Created utils/paths.py with get_tasks_file
  • Created utils/__init__.py
  • Updated commands/add.py, commands/list.py, commands/done.py to import from utils
  • No behavior changes; all existing tests pass

- Create utils/validation.py with validate_description, validate_task_file, validate_task_id
- Create utils/paths.py with get_tasks_file
- Create utils/__init__.py
- Update commands/add.py, list.py, done.py to import from utils
- All existing tests pass, no behavior changes
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