cli.py functions names collide with built-ins

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the list and set functions in src/dotenv/cli.py at the referenced lines, then check how those names are used within the CLI. Done means the functions no longer collide with Python built-in constructors and the CLI continues to provide the same behavior.

Written by the indexing model from the issue text.

Description

Functions list and set are built-in Python constructors for classes. May be cli.py functions list and set should be renamed to avoid confusion and possible development difficulties in the future.

Dominant language
Python
Stars
8.9k
Forks
581
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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 theskumar/python-dotenv

All issues in theskumar/python-dotenv

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.