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

uv init number does generate project as wepage for ruff tutorial #10933

Closed
mickelindahl opened this issue Jan 24, 2025 · 2 comments · Fixed by astral-sh/ruff#15718
Closed

uv init number does generate project as wepage for ruff tutorial #10933

mickelindahl opened this issue Jan 24, 2025 · 2 comments · Fixed by astral-sh/ruff#15718
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mickelindahl
Copy link

Summary

Here

https://docs.astral.sh/ruff/tutorial/

It states that when running

uv init numbers

A project witht he structure

numbers
├── pyproject.toml
└── src
└── numbers
├── init.py
└── py.typed

Should be generated. In infact this is not true. The structure is completely different (see image)

Image

Platform

Ubuntu 22.04

Version

0.5.24

Python version

Python 3.10.12

@mickelindahl mickelindahl added the bug Something isn't working label Jan 24, 2025
@konstin konstin added documentation Improvements or additions to documentation and removed bug Something isn't working labels Jan 24, 2025
@charliermarsh
Copy link
Member

That's just a docs issue -- this should be filed in Ruff instead. That's the output of uv init --lib.

@charliermarsh
Copy link
Member

Fixed in astral-sh/ruff#15718.

@charliermarsh charliermarsh self-assigned this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants