-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (86 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
99 lines (86 loc) · 2.44 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
requires = ['poetry-core>=1.5.1']
build-backend = 'poetry.core.masonry.api'
[tool.poetry]
name = 'frontik'
version = '11.0.6'
description = 'Frontik is an asyncronous Tornado-based application server'
authors = ['platform <platform@hh.ru>']
repository = 'https://forgejo.pyn.ru/hhru/frontik'
homepage = 'https://forgejo.pyn.ru/hhru/frontik'
readme = 'README.md'
[[tool.poetry.source]]
name = "pypi-mirror"
url = "https://devpi.pyn.ru/root/pypi/+simple/"
priority = "primary"
[[tool.poetry.source]]
name = "hhdev"
url = "https://devpi.pyn.ru/hh/hhdev/+simple/"
priority = "explicit"
[tool.poetry.scripts]
frontik = 'frontik.server:main'
frontik-generate-openapi = 'frontik.util.generate_openapi:main'
[tool.poetry.dependencies]
python = '>=3.9,<4'
aiohttp = '3.11.11'
lxml = '5.3.0'
pydantic = '^2.3.0'
tornado = '6.5.2'
orjson = '*'
packaging = '<25.0'
http-client = { version = '>=7.0.0,<8', source = 'hhdev' }
consul = { version = '1.0.0', source = 'hhdev' }
pystatsd = { version = '>=2,<3', source = 'hhdev' }
opentelemetry-sdk = '1.38.0'
opentelemetry-api = '1.38.0'
opentelemetry-exporter-otlp-proto-grpc = '1.38.0'
opentelemetry-exporter-otlp-proto-http = '1.38.0'
opentelemetry-instrumentation-fastapi = '0.59b0'
opentelemetry-instrumentation-aiohttp-client = '0.59b0'
opentelemetry-instrumentation-tornado = '0.59b0'
grpcio = '>=1.73.1'
fastapi = '0.121.3'
aiokafka = { extras = ['lz4'], version = '0.12.0' }
acsylla = '1.0.0'
sentry-sdk = '>=2.7,<3'
python-multipart = '^0.0.19'
pyyaml = { version = "6.0.2", optional = true }
types-pyyaml = { version = "6.0.2", optional = true }
[tool.poetry.group.test.dependencies]
pytest = '8.3.3'
pytest-asyncio = '0.24.0'
requests = '>=2.0'
types-requests = '2.31.0.8'
tox = '4.6.4'
lxml-asserts = '0.1.2'
exceptiongroup = '1.2.0'
pystolint = '0.2.18'
httpx = ">=0.22"
cassandra-driver = '3.29.2'
testcontainers = '4.10.0'
[tool.poetry.extras]
sentry = ["sentry-sdk"]
testing = ["tornado-httpclient-mock"]
openapi = ["pyyaml", "types-pyyaml"]
[tool.pytest.ini_options]
addopts = '''
--tb native
--asyncio-mode=auto
-p no:warnings
'''
[tool.mypy]
exclude = [
'.*/api/2.*',
'http_client',
'frontik/request_integrations/telemetry.py',
]
[tool.ruff]
exclude = [
'sentry_tornado_integration.py',
'frontik/request_integrations/telemetry.py',
'frontik/request_integrations/sentry.py',
]
[tool.ruff.lint.isort]
known-third-party = ['http_client', 'pystatsd']
[tool.ruff.lint]
ignore = ['FA100', 'N818']