Allow uv run to be used without --no-project (#13599)

This commit is contained in:
Avasam
2025-03-12 08:33:04 -04:00
committed by GitHub
parent f6e99d20b5
commit 8bc9a65367
2 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -68,8 +68,10 @@ analyze.py
# Mypy cache
.mypy_cache/
# pyenv local python version
# pyenv and uv local python version
.python-version
# we don't use uv's lock as we're not actually a project
uv.lock
# deliberately local test configuration files
stdlib/@tests/stubtest_allowlists/*.local
+7
View File
@@ -1,3 +1,10 @@
[project]
# This section is needed to avoid writing --no-project everytime when using "uv run"
# https://github.com/astral-sh/uv/issues/8666
name = "typeshed"
version = "0"
requires-python = ">=3.9" # Minimum version to run tests, used by uv run
[tool.black]
line-length = 130
target-version = ["py310"]