uv
a3c98e8e - Disallow `pyproject.toml` files for non-project configuration (#3463)

Commit
1 year ago
Disallow `pyproject.toml` files for non-project configuration (#3463) ## Summary We already _don't_ discover a `pyproject.toml` in `~/.config/uv` -- it must be `uv.toml`. This PR makes the same change for `--config-file` -- it _has_ to be a `uv.toml`. I think this is reasonable and more consistent, though I'm not sure. A `pyproject.toml` "means" something -- it defines a project itself, in which case we should be using project configuration. But creating a `pyproject.toml` outside the project and passing it via `--config-file` seems like an anti-pattern.
Author
Parents
Loading