Skip to content

feat: initialize git repository when running pdm init #3483

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

Merged
merged 1 commit into from
Apr 18, 2025
Merged

Conversation

frostming
Copy link
Collaborator

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.

Copy link

codecov bot commented Apr 18, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 85.40%. Comparing base (b6355f1) to head (c14791c).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/pdm/cli/commands/init.py 50.00% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3483      +/-   ##
==========================================
- Coverage   85.46%   85.40%   -0.06%     
==========================================
  Files         114      114              
  Lines       11708    11726      +18     
  Branches     2578     2581       +3     
==========================================
+ Hits        10006    10015       +9     
- Misses       1160     1166       +6     
- Partials      542      545       +3     
Flag Coverage Δ
unittests 85.21% <50.00%> (-0.06%) ⬇️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@frostming frostming linked an issue Apr 18, 2025 that may be closed by this pull request
1 task
@frostming frostming merged commit 910c350 into main Apr 18, 2025
19 of 21 checks passed
@frostming frostming deleted the feat/no-init branch April 18, 2025 01:07
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.

Add --no-git option to pdm new and pdm init
1 participant