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

Issues 2360 (#1) #2402

Merged
merged 6 commits into from
Nov 15, 2023
Merged

Issues 2360 (#1) #2402

merged 6 commits into from
Nov 15, 2023

Conversation

LeetaoGoooo
Copy link
Contributor

@LeetaoGoooo LeetaoGoooo commented Nov 14, 2023

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.

Fix bugs mentioned in #2360, do some check before init a project, follow PEP 426 and sanitize the default name by replacing the illegal characters

src/pdm/utils.py Outdated Show resolved Hide resolved
src/pdm/utils.py Outdated Show resolved Hide resolved
src/pdm/utils.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (ec76487) 84.52% compared to head (4662278) 84.51%.

Files Patch % Lines
src/pdm/cli/commands/init.py 66.66% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2402      +/-   ##
==========================================
- Coverage   84.52%   84.51%   -0.01%     
==========================================
  Files         102      102              
  Lines       10096    10109      +13     
  Branches     2223     2224       +1     
==========================================
+ Hits         8534     8544      +10     
- Misses       1085     1087       +2     
- Partials      477      478       +1     
Flag Coverage Δ
unittests 84.30% <80.00%> (-0.01%) ⬇️

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.

@frostming
Copy link
Collaborator

Fine, can you please add a news fragment under news and we are good to go.

@LeetaoGoooo
Copy link
Contributor Author

Fine, can you please add a news fragment under news and we are good to go.

It is completed. Thank you for your patient guidance and assistance.~~

@frostming frostming merged commit 73651b7 into pdm-project:main Nov 15, 2023
21 of 23 checks passed
@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.

3 participants