-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (36 loc) · 806 Bytes
/
pyproject.toml
File metadata and controls
41 lines (36 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "python-project-template"
version = "0.1.0"
description = "A production-ready Python project template"
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
authors = [
{ name = "Your Name", email = "your.email@example.com" }
]
dependencies = [
"pytest>=7.0.0",
"pyyaml>=6.0",
"fastapi>=0.95.0",
"uvicorn>=0.21.0",
]
[project.optional-dependencies]
dev = [
"black>=22.3.0",
"isort>=5.10.1",
"flake8>=4.0.1",
"mypy>=0.950",
"httpx>=0.24.0", # Used by TestClient in FastAPI
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
[tool.black]
line-length = 88
target-version = ["py38"]
[tool.isort]
profile = "black"
multi_line_output = 3