-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (49 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (49 loc) · 1.25 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[project]
name = "thin-controller"
description = "Control your EC2 instances with a FastAPI instance in Lambda"
version = "0.0.2"
authors = [{ name = "James Hogkinson", email = "james@terminaloutcomes.com" }]
requires-python = "<4.0,>=3.12"
dependencies = [
"fastapi>=0.115.12",
"pydantic>=2.11.3",
"mangum>=0.19.0",
"boto3>=1.37.36",
"pydantic-settings>=2.14.2",
"uvicorn>=0.34.1",
"loguru>=0.7.3",
"python-multipart>=0.0.31",
]
readme = "README.md"
[project.license]
text = "MIT"
[project.scripts]
thin-controller = "thin_controller.__main__:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff>=0.11.6,<1.0.0",
"pytest>=9.0.3,<10.0.0",
"types-boto3>=1.37.36,<2.0.0",
"pyright>=1.1.400",
"coverage>=7.10.7",
"coveralls>=4.0.1",
"pytest-cov>=7.0.0",
"httpx>=0.28.1",
"ty>=0.0.26",
]
[tool.pylint.MASTER]
max-line-length = 200
load-plugins = "pylint_pytest"
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = ["terraform/*", "assets/*"]
[tool.mypy]
plugins = "pydantic.mypy"
[tool.pyright]
exclude = ["terraform/*", ".venv"]
[tool.coverage.run]
omit = ["tests/*", "terraform/*", "thin_controller/handler.py"]
relative_files = true