-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
65 lines (56 loc) · 1.6 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
[tool.poetry]
name = "she-logging"
version = "1.4.0"
description = "Common logging configuration for Sensyne Health microservices"
authors = ["Duncan Booth <[email protected]>"]
keywords = ["DHOS", "Platform", "Logging"]
repository = "https://github.com/draysontechnologies/she-logging"
[[tool.poetry.source]]
name = "sensynehealth"
url = "https://pypi.fury.io/sensynehealth/"
[tool.poetry.dependencies]
python = ">=3.6.9,<4.0"
environs = "*"
JSON-log-formatter = "0.*"
contextvars = { version = "2.*", python = "3.6.*" }
PyYAML = "5.*"
rich = { version="10.*", optional=true }
[tool.poetry.dev-dependencies]
bandit = "*"
black = "*"
coverage = "*"
Flask = "2.*"
isort = "*"
mock = "*"
mypy = "*"
pytest = "5.*"
pytest-cov = "*"
pytest-flask = "*"
pytest-mock = "*"
safety = "*"
tox = "*"
fastapi = "0.*"
uvicorn = {version = "*", extras=["standard"]}
gunicorn = "*"
types-contextvars = "*"
types-PyYAML = "*"
Flask-Log-Request-ID = "*"
[tool.poetry.plugins."gunicorn.loggers"]
"gunicorn"="she_logging.gunicorn_logger:Logger"
[tool.poetry.extras]
colour = ["rich"]
[tool.mypy]
namespace_packages=true
ignore_missing_imports=false
disallow_untyped_defs=true
[[tool.mypy.overrides]]
module = [
"json_log_formatter","flask_log_request_id","environs","pytest","_pytest.*","coloredlogs","gunicorn","uvicorn","flask.*"
]
ignore_missing_imports = true
[tool.isort]
profile = "black"
known_third_party = ["_pytest", "environs", "fastapi", "flask", "flask_log_request_id", "gunicorn", "json_log_formatter", "pytest", "pytest_mock", "starlette", "toml", "uvicorn", "yaml"]
[tool.black]
line-length = 88
target-version = ["py39"]