forked from hxjo/fastapi-inertia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (51 loc) · 1.5 KB
/
pyproject.toml
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
59
60
[tool.poetry]
name = "fastapi-inertia"
version = "1.0.2"
description = "An implementation of the Inertia protocol for FastAPI."
authors = ["Hugo Mortreux <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/hxjo/fastapi-inertia"
homepage = "https://github.com/hxjo/fastapi-inertia"
keywords = ["inertia", "inertiajs", "fastapi", "python"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: FastAPI",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "inertia"}
]
exclude = ["inertia/tests/**/*"]
[tool.poetry.dependencies]
python = ">=3.9"
fastapi = "^0.111.0"
jinja2 = "^3.1.4"
[tool.poetry.group.dev.dependencies]
uvicorn = "^0.29.0"
mypy = "^1.9.0"
ruff = "^0.4.1"
pytest = "^8.1.1"
httpx = "^0.27.0"
pytest-cov = "^5.0.0"
types-requests = "^2.31.0.20240406"
itsdangerous = "^2.2.0"
requests = "^2.31.0"
poethepoet = "^0.26.1"
beautifulsoup4 = "^4.12.3"
types-beautifulsoup4 = "^4.12.0.20240511"
pytest-asyncio = "^0.23.8"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
strict = true
check_untyped_defs = true
[tool.poe.tasks]
test = "pytest inertia/tests --cov inertia --cov-report term-missing --cov-fail-under=98"
type_check = "mypy inertia"
format = "ruff format inertia"
lint = "ruff check inertia --fix"
pc = ["test", "type_check", "format", "lint"]