-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 1.6 KB
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "fastapi-structured-logging"
dynamic = ["version"]
requires-python = ">=3.9"
authors = [{ name = "Damien Degois", email = "damien@degois.info" }]
description = "fastapi structured logging middleware (accesslog, opentelemetry)"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICEN[CS]E*"]
dependencies = ["structlog", "fastapi", "orjson"]
classifiers = [
"Environment :: Web Environment",
"Framework :: FastAPI",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Software Development",
"Topic :: System :: Monitoring",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3 :: Only",
]
[project.optional-dependencies]
otlp = ["opentelemetry-api", "opentelemetry-sdk"]
tests = ["fastapi-structured-logging[otlp]", "pytest"]
[project.urls]
homepage = "https://github.com/babs/fastapi-structured-logging"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.dynamic]
version = { file = "VERSION" }
[tool.pytest.ini_options]
addopts = "--cov=fastapi-structured-logging"
testpaths = ["tests"]
filterwarnings = ["ignore:Call to deprecated method __init__."]
[tool.mypy]
mypy_path = "src"
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true