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: add an --overwrite option to pdm init #2166

Merged
merged 2 commits into from
Aug 4, 2023
Merged

Conversation

frostming
Copy link
Collaborator

Fixes #2163

Signed-off-by: Frost Ming [email protected]

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.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 80.00% and project coverage change: -0.01% ⚠️

Comparison is base (eae7cbf) 84.30% compared to head (1ba7eb6) 84.29%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2166      +/-   ##
==========================================
- Coverage   84.30%   84.29%   -0.01%     
==========================================
  Files         100      100              
  Lines        9779     9781       +2     
  Branches     2159     2160       +1     
==========================================
+ Hits         8244     8245       +1     
  Misses       1062     1062              
- Partials      473      474       +1     
Flag Coverage Δ
unittests 84.07% <80.00%> (-0.01%) ⬇️

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

Files Changed Coverage Δ
src/pdm/cli/templates/__init__.py 84.55% <66.66%> (-0.70%) ⬇️
src/pdm/cli/commands/init.py 79.54% <100.00%> (+0.15%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Frost Ming <[email protected]>
@frostming frostming merged commit c815118 into main Aug 4, 2023
@frostming frostming deleted the frostming/issue2163 branch August 4, 2023 02:07
@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.

PDM init in existing directory overwrite README.md and create src and tests directories
2 participants