Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Change all booleans to choices

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

No file or test is named in the issue. Start by locating the prompt or configuration handling for publish_on_npm and install_dependencies, then check whether other boolean choices are handled there. Done means these options accept only the presented choices and reject ambiguous boolean-like input.

Written by the indexing model from the issue text.

Description

Atm publish_on_npm and install_dependencies are booleans. However, I haven't had a great experience with booleans since we would need to check many cases (such as "true", "True", "t", "T") and can also be missed with typos.

I feel having a choice like:

Select publish_on_npm:
1 - True
2 - False
Choose from 1, 2 [1]:

although doesn't look as nice, would ensure that only one of the possible options are a chosen

Dominant language
Python
Stars
294
Forks
196
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plotly/dash-component-boilerplate

All issues in plotly/dash-component-boilerplate

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.