Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: New option --venv VENV to run a command in the venv with the given name #1820

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

frostming
Copy link
Collaborator

Signed-off-by: Frost Ming me@frostming.com

Pull Request Checklist

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

Close #1705

…given name

Signed-off-by: Frost Ming <me@frostming.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 7, 2023

Codecov Report

Patch coverage: 88.88% and project coverage change: +0.05 🎉

Comparison is base (2963f2b) 84.92% compared to head (fda0efa) 84.98%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1820      +/-   ##
==========================================
+ Coverage   84.92%   84.98%   +0.05%     
==========================================
  Files          99       99              
  Lines        8999     9028      +29     
  Branches     1954     1953       -1     
==========================================
+ Hits         7642     7672      +30     
- Misses        927      928       +1     
+ Partials      430      428       -2     
Flag Coverage Δ
unittests 84.80% <88.88%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/pdm/cli/commands/add.py 88.88% <ø> (ø)
src/pdm/cli/commands/sync.py 100.00% <ø> (ø)
src/pdm/cli/commands/update.py 100.00% <ø> (ø)
src/pdm/cli/commands/venv/activate.py 92.30% <60.00%> (-4.13%) ⬇️
src/pdm/cli/commands/venv/remove.py 86.36% <62.50%> (-2.10%) ⬇️
src/pdm/cli/commands/venv/__init__.py 80.55% <66.66%> (-2.78%) ⬇️
src/pdm/cli/options.py 92.03% <82.60%> (-1.78%) ⬇️
src/pdm/cli/actions.py 77.77% <100.00%> (+0.19%) ⬆️
src/pdm/cli/commands/info.py 93.54% <100.00%> (+0.21%) ⬆️
src/pdm/cli/commands/install.py 89.28% <100.00%> (ø)
... and 9 more

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@frostming frostming merged commit 551879f into main Apr 7, 2023
@frostming frostming deleted the feat/venv-option branch April 7, 2023 07:12
@j178 j178 mentioned this pull request Apr 3, 2024
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: Perform operations in a venv without switching to it.
2 participants