-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor dev_checks method to reduce complexity (#182)
Fixes #181 Refactor the `dev_checks()` method in `CODE/_dev.py` to reduce its complexity. * **Extract User Prompts**: Move the user prompts into a separate method `_perform_checks()`. * **Handle File Operations**: Create a new method `_handle_file_operations()` to manage file operations and logging. * **Update Main Method**: Modify the `dev_checks()` method to call `_perform_checks()` and `_handle_file_operations()`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/DefinetlyNotAI/Logicytics/pull/182?shareId=6fb8af3c-17b7-4432-a30b-e5d695021c55). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved code structure by separating project guideline checks and file operations into dedicated functions - Enhanced modularity and maintainability of development-related processes <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
1 changed file
with
59 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters