← 所有代码文件

pyproject.toml

现代 Python 项目元数据和工具配置。

[project]
name = "myapp"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
  "fastapi",
  "uvicorn",
]

[tool.ruff]
line-length = 100

[tool.pytest.ini_options]
testpaths = ["tests"]

关于此工具

现代 Python 项目元数据和工具配置。

开箱即用的 pyproject.toml——查看内容、复制,或以正确的文件名下载。免费,100% 在浏览器中运行。