-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
117 lines (102 loc) · 2.85 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fastapi-debug-toolbar"
description = "A debug toolbar for FastAPI."
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
dynamic = ["version"]
authors = [
{ name = "Dani", email = "[email protected]" }
]
keywords = ["fastapi", "debug", "profiling"]
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 2 - Pre-Alpha",
"Framework :: AnyIO",
"Framework :: FastAPI",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Typing :: Typed",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Topic :: Software Development",
"Topic :: Software Development :: Debuggers",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Utilities",
]
dependencies = [
"fastapi >=0.106.0",
"anyio >=3.0.0",
"Jinja2 >=2.9",
"pydantic >=2.0",
"pydantic-extra-types >=2.0.0",
"pydantic-settings >=2.0.0",
"pyinstrument >=3.0.0",
"sqlparse >=0.2.0",
]
[project.urls]
homepage = "https://github.com/mongkok/fastapi-debug-toolbar"
repository = "https://github.com/mongkok/fastapi-debug-toolbar"
documentation = "https://fastapi-debug-toolbar.domake.io"
changelog = "https://fastapi-debug-toolbar.domake.io/changelog/"
[project.optional-dependencies]
test = [
"bandit",
"coverage",
"httpx",
"itsdangerous",
"mypy",
"pytest",
"pytest-asyncio",
"python-multipart",
"ruff",
"SQLAlchemy",
"tortoise-orm",
]
doc = [
"mkdocs",
"mkdocs-material",
"markdown-include",
"mkdocstrings[python]",
]
[tool.hatch.build.targets.sdist]
include = ["debug_toolbar"]
[tool.hatch.build.targets.wheel]
packages = ["debug_toolbar"]
[tool.hatch.version]
path = "debug_toolbar/__init__.py"
[[tool.mypy.overrides]]
module = ["sqlparse"]
ignore_missing_imports = true
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["fastapi.Depends"]
[tool.bandit]
skips = ["B101"]
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers"]
asyncio_mode = "auto"
[tool.coverage.run]
source_pkgs = ["debug_toolbar", "tests"]