Skip to content

Commit f96394a

Browse files
authored
docs: change 'hello.py' to 'main.py' in python.md (#6319)
A small change to the docs to reflect that `hello.py` has been renamed to `main.py` in current versions of uv. See * astral-sh/uv#10369
1 parent e7b7079 commit f96394a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mise-cookbook/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ Here is how the `uv` project will look like:
5555
.
5656
├── .gitignore
5757
├── .python-version
58-
├── hello.py
58+
├── main.py
5959
├── pyproject.toml
6060
└── README.md
6161

6262
cat .python-version
6363
# 3.12
6464
```
6565

66-
If you run `uv run hello.py` in the `uv` project, `uv` will automatically create a virtual environment for you using the python version specified in the `.python-version` file. This will also create a `uv.lock` file.
66+
If you run `uv run main.py` in the `uv` project, `uv` will automatically create a virtual environment for you using the python version specified in the `.python-version` file. This will also create a `uv.lock` file.
6767

6868
`mise` will detect the python version in `.python-version`, however, it won't use the virtual env created by `uv` by default. So, using `which python` will show a global python installation from `mise`.
6969

0 commit comments

Comments
 (0)