forked from maces/fastapi-htmx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (87 loc) · 2.32 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[tool.poetry]
name = "fastapi-htmx"
version = "0.4.4"
description = "Extension for FastAPI to make HTMX easier to use."
authors = ["maces <fastapi-htmx@mzip.de>"]
license = "LGPL"
readme = "README.md"
homepage = "https://github.com/maces/fastapi-htmx"
keywords = ["fastapi", "htmx", "html", "jinja2"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Environment :: Web Environment",
"Environment :: Plugins",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: AsyncIO",
"Framework :: FastAPI",
"Typing :: Typed"
]
packages = [
{include = "fastapi_htmx"},
{include = "fastapi_htmx/py.typed"}
]
[tool.poetry.dependencies]
python = "^3.8"
fastapi = ">=0.115,<0.116"
jinja2 = "^3.1"
[tool.poetry.group.dev.dependencies]
ruff = ">=0.5.1,<0.6.10"
black = ">=23.1,<25.0"
mypy = "^1.1.1"
pre-commit = "^3.1.1"
pytest = ">=7.2.2,<9.0.0"
pytest-cov = ">=4,<6"
httpx = ">=0.23.3,<0.28.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py38']
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
target-version = "py38"
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# pydocstyle
"D",
# isort
"I",
# mccabe
"C90",
# PEP8 naming
"N",
# bandit
"S",
# RUFF
"RUF",
# pyupgrade
"UP",
]
ignore = ["D406", "D407", "D203", "D213"]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101", "D100", "D103", "D104"]
[tool.pytest.ini_options]
addopts = "--cov=fastapi_htmx --cov-branch --cov-report term --cov-report html"