Skip to content

Bug when running usethis tool in a dir with a leading dot in its name #1902

@nathanjmcdougall

Description

@nathanjmcdougall

e.g.

uvx usethis tool pre-commit
Installed 29 packages in 918ms
✔ Writing 'pyproject.toml'.
✗ Failed to create a pyproject.toml file:
Failed to run subprocess:
uv init --quiet --bare --vcs=none --author-from=auto --build-backend hatch C:/Users/namc/Repositories/.github-private
stderr='error: The target directory (.github-private) is not a valid package name. Please provide a package name with --name.\n'

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions