Skip to content

add separators#42

Merged
TheItsNameless merged 12 commits intomainfrom
feature/40-seperators
Jan 8, 2024
Merged

add separators#42
TheItsNameless merged 12 commits intomainfrom
feature/40-seperators

Conversation

@TheItsNameless
Copy link
Contributor

This PR introduces separators to the

  • select
  • raw_select
  • expand
  • checkbox

prompt types.

closes #40

@TheItsNameless TheItsNameless self-assigned this Jan 8, 2024
@TheItsNameless TheItsNameless linked an issue Jan 8, 2024 that may be closed by this pull request
TheItsNameless and others added 12 commits January 8, 2024 19:20
The changes made have simplified some existing code for clarity. The code initially assigned to the 'result' variable has been condensed into a single line, enhancing readability. Additionally, a type ignore comment has been added to the 'process_data' function call for ignoring type checks. The changes have been made to correct prior failed commit hooks.
A revised step in the contribution process was added to CONTRIBUTING.md to include setting up a local clone of the project for development. This helps contributing members correctly prepare their environment with required dependencies and pre-commit hooks.
Refactored code in checkbox.py and related files to accommodate Separator objects. Changes ensure that Separator objects get recognized and processed correctly, enhancing data organization and user interface by properly displaying separators in checkboxes.
Fixed a typo, replacing all instances of 'Seperator' with 'Separator' across multiple files. Also improved the handling of data in the prompts to include Separator objects within the OptionsList type. This both improves the functionality of data processing and provides a seamless and appropriate user interface.
Added test cases in various prompt tests to check the incorporation of 'Separator' objects within the options. This ensures that data processing now handles separator objects correctly, providing more flexible and robust prompt structure for users.
@TheItsNameless TheItsNameless merged commit 08e9dca into main Jan 8, 2024
@TheItsNameless TheItsNameless deleted the feature/40-seperators branch January 8, 2024 18:24
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.

[FEATURE] Add support for PyInquirers Seperator

1 participant