-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
60 lines (54 loc) · 1.54 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = 'fastapi_exceptionshandler'
version = "0.1.2"
license = {text = "MIT License"}
authors = [
{ name="SirPaulO", email="[email protected]" },
]
dependencies = [
"fastapi>=0.95.2",
]
keywords = ["fastapi", "middleware", "exception", "error", "handler", "response", "api"]
description = 'Standardize and handle exceptions in FastAPI more elegantly'
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/SirPaulO/fastapi_exceptionshandler"
"Bug Tracker" = "https://github.com/SirPaulO/fastapi_exceptionshandler/issues"
"Repository" = "https://github.com/SirPaulO/fastapi_exceptionshandler.git"
[tool.mypy]
plugins = ["pydantic.mypy"]
ignore_missing_imports = true
disallow_untyped_defs = true
warn_unused_ignores = true
no_strict_optional = true
no_implicit_optional = true
implicit_reexport = true
explicit_package_bases = true
namespace_packages = true
follow_imports = "silent"
warn_redundant_casts = true
check_untyped_defs = true
no_implicit_reexport = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
line_length = 120
[tool.black]
line-length = 120
target-version = ['py39']