mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 12:35:49 +08:00
Allow uv run to be used without --no-project (#13599)
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user