pallets / pallets/click

provide access to a normalized list of args that will result in the same params

Open
#1,279 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

parsing
Dominant language
Python
Stars
17.7k
Forks
2.3k
Avg merge
1d 30m
Merged PRs (30d)
18

Description

In pip-tools I want to be able to store the args that pip-compile was called with in its output. However I want to normalize the output so that syntactic arg changes are ignored.

Effectively, I want to be able to serialize a Context object into a list of args, such that all equivalent Context objects generate the same list of arg strings.

https://github.com/jazzband/pip-tools/issues/788

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.

Research direction

Start by examining Click's Context object and the linked pip-tools issue for the required argument normalization behavior. Define what it means for equivalent Context objects to produce identical serialized argument lists, then verify the behavior against representative syntactic variations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.