Skip to content

Comments

Pass project name as --prompt for virtualenv#3057

Closed
Tadaboody wants to merge 10 commits intopython-poetry:masterfrom
Tadaboody:feature/virtualenv_prompt
Closed

Pass project name as --prompt for virtualenv#3057
Tadaboody wants to merge 10 commits intopython-poetry:masterfrom
Tadaboody:feature/virtualenv_prompt

Conversation

@Tadaboody
Copy link

@Tadaboody Tadaboody commented Oct 2, 2020

Pull Request Check List

Resolves: #3055

  • Added tests for changed code.
  • Updated documentation for changed code.

@Tadaboody Tadaboody marked this pull request as draft October 2, 2020 19:36
@Tadaboody Tadaboody changed the title WIP: Pass project name as --prompt for virtualenv Pass project name as --prompt for virtualenv Oct 4, 2020
@Tadaboody Tadaboody marked this pull request as ready for review October 4, 2020 15:20
@Tadaboody
Copy link
Author

@abn I think this is ready for review, how do we start the process?

@finswimmer finswimmer requested a review from a team October 6, 2020 20:21
@finswimmer finswimmer added the kind/feature Feature requests/implementations label Oct 6, 2020
@Tadaboody
Copy link
Author

@abn Bumping again for review, also would appreciate a hacktoberfest-accepted tag if you deem this PR worthy

@abn
Copy link
Member

abn commented Oct 17, 2020

Definitely worthy 😉 Just haven't managed to get the time to get back to this. Will do so in the next day or so.

return re.sub(r"{(.+?)}", lambda m: self.get(m.group(1)), value)
return re.sub(
r"{(.+?)}",
lambda m: self.get(m.group(1)) or "{{{key}}}".format(key=m.group(1)),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lambda is getting difficult to read at first pass. I'd suggest to take encapsulate this into its own function.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I extracted it well enough here, should I change something? I'd still like to get this merged (and stop worrying about conflicts with upstream)

@Tadaboody Tadaboody force-pushed the feature/virtualenv_prompt branch from 9ee16ff to 1fa80f6 Compare November 13, 2020 21:57
@Tadaboody Tadaboody requested a review from kasteph November 13, 2020 22:09
@finswimmer finswimmer requested a review from a team November 18, 2020 07:43
@Tadaboody Tadaboody force-pushed the feature/virtualenv_prompt branch from cba1eb2 to e545f12 Compare December 30, 2020 09:56
@Tadaboody
Copy link
Author

Hey, I've been fixing merge conflicts here and there and would love to get to merge this before it gets stale again, any chance this gets looked at?

@nikhilweee
Copy link

I would love to get this merged! @abn @stephsamson Please review this as soon as possible?

@abn
Copy link
Member

abn commented Feb 10, 2022

Can I get this rebased please? Aologies for the delay in getting to this.

@neersighted
Copy link
Member

Superseded by #5606.

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

kind/feature Feature requests/implementations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pass --prompt to be project name

6 participants