-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary This PR avoids an `Invalid package name` error that occurs when using `uv init .`. This is achieved by slightly reorganizing the code block to determine the name after the path is canonicalized. The dot path is expanded to the current directory, and the `file_name` then works as expected. Resolve #5329 . --------- Co-authored-by: konstin <[email protected]>
- Loading branch information
Showing
2 changed files
with
80 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters