-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (48 loc) · 1005 Bytes
/
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
[tool.poetry]
name = "fastapi-pretty-errors"
version = "0.1.1"
description = "A FastAPI middleware to prettify exceptions using PrettyErrors."
authors = ["Hiroki Sawano <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/savvan0h/fastapi-pretty-errors"
[tool.poetry.dependencies]
python = "^3.9"
fastapi = ">=0.87"
pretty-errors = "^1.2.25"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
uvicorn = "^0.31.1"
httpx = "^0.27.2"
ruff = "^0.6.9"
mypy = "^1.11.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
strict = true
ignore_missing_imports = true
allow_any_generics = true
allow_untyped_defs = true
exclude = ["venv", ".venv"]
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"B",
"C4",
"UP",
"ARG001",
]
ignore = [
"E501",
"B008",
"W191",
"B904",
]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true