-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
58 lines (50 loc) · 1.28 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
[tool.poetry]
name = "fastapi-cloud-logging"
version = "1.1.0"
description = "Cloud Logging For FastAPI"
authors = ["quoth <4wordextinguisher@gmail.com>"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/quoth/fastapi-cloud-logging"
repository = "https://github.com/quoth/fastapi-cloud-logging"
include = [
"LICENSE",
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging",
"Environment :: Web Environment",
"Framework :: FastAPI",
]
[tool.poetry.dependencies]
python = "^3.7"
fastapi = ">=0.71"
google-cloud-logging = "~3"
[tool.poetry.dev-dependencies]
flake8 = "^5.0.4"
isort = "^5.11.5"
black = "^23.1.0"
pytest = "^7.0.1"
pytest-mock = "^3.7.0"
importlib_metadata = { version = "^4.2", optional = true, extras = ["py37"] }
uvicorn = {version = "^0.20.0", extras = ["local"]}
loguru = {version = "^0.6.0", extras = ["local"]}
[tool.poetry.extras]
py37 = ["importlib_metadata"]
local = ["uvicorn", "loguru"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.flake8]
max-line-length = 120
[tool.isort]
line_length = 120
[tool.pytest.ini_options]
addopts = [
"--strict-config",
"--strict-markers",
]
xfail_strict = true
filterwarnings = [
"error"
]