-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (74 loc) · 1.95 KB
/
pyproject.toml
File metadata and controls
83 lines (74 loc) · 1.95 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
[tool.poetry]
name = "pybotx"
version = "0.76.0"
description = "A python library for interacting with eXpress BotX API"
authors = [
"Sidnev Nikolay <nsidnev@ccsteam.ru>",
"Maxim Gorbachev <mgorbachev@ccsteam.ru>",
"Alexander Samoylenko <alexandr.samojlenko@ccsteam.ru>",
"Arseniy Zhiltsov <arseniy.zhiltsov@ccsteam.ru>",
]
readme = "README.md"
repository = "https://github.com/ExpressApp/pybotx"
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
aiofiles = "^25.1.0"
httpx = "^0.28.1"
# The v1.0.3 cause some troubles with no-wait callbacks functionality.
# It will be fixed in the next versions.
# https://github.com/encode/httpcore/pull/880
httpcore = "^1.0.9"
loguru = "^0.7.3"
pydantic = "^2.12.5"
aiocsv = "^1.4.0"
pyjwt = "^2.11.0"
mypy-extensions = "^1.1.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.19.1"
bandit = "^1.9.3" # https://github.com/PyCQA/bandit/issues/837
pytest = "^9.0.2"
pytest-asyncio = "^1.3.0"
pytest-cov = "^7.0.0"
pytest-timeout = "^2.4.0"
pytest-xdist = "^3.8.0"
hypothesis = "^6.151.5"
requests = "^2.32.5"
respx = "^0.22.0"
factory-boy = "^3.3.3"
deepdiff = "^8.6.1"
fastapi = "^0.128.1"
starlette = ">=0.40,<0.51" # TODO: Drop dependency after updating end-to-end test
uvicorn = "^0.40.0"
ruff = "^0.15.0"
[build-system]
requires = ["poetry>=1.2.0"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
addopts = [
"--strict-markers",
"--tb=short",
"-n",
"auto",
"--dist=loadscope",
"--cov=pybotx",
"--cov-report=term-missing",
"--cov-branch",
"--no-cov-on-fail",
"--cov-fail-under=100",
"--timeout=10",
"--timeout-method=thread",
]
markers = [
"wip: Work in progress",
"mock_authorization: Mock authorization",
"allow_network: Allow real network access in a test",
]
filterwarnings = [
"ignore:Pydantic serializer warnings:UserWarning",
]
[tool.ruff]
target-version = "py310"
line-length = 88