@@ -6,26 +6,69 @@ authors = ["Alexander Samoylenko <alexandr.samojlenko@ccsteam.ru>"]
66readme = " README.md"
77
88[tool .poetry .dependencies ]
9- python = " >=3.9, <3.14"
10-
11- loguru = " >=0.6.0,<0.7.0"
12-
13- [tool .poetry .dev-dependencies ]
14- add-trailing-comma = " 3.1.0"
15- autoflake = " 2.3.1"
16- black = " 25.1.0"
17- isort = " 6.0.1"
18- mypy = " 1.15.0"
19- wemake-python-styleguide = " 0.19.2"
20- bandit = " 1.8.3"
21-
22- pytest = " ^8.3.5"
23- pytest-asyncio = " ^0.26.0"
24- pytest-cov = " ^6.1.1"
25- requests = " ^2.32.3"
26-
27- fastapi = " >=0.70.0,<0.116.0"
28- pybotx = " >=0.75.0,<1.0.0"
9+ python = " >=3.10, <3.14"
10+
11+ loguru = " >=0.7.3,<0.8.0"
12+
13+ [tool .poetry .group .dev .dependencies ]
14+ mypy = " ^1.19.1"
15+ bandit = " ^1.9.3"
16+
17+ pytest = " ^9.0.2"
18+ pytest-asyncio = " ^1.3.0"
19+ pytest-cov = " ^7.0.0"
20+ pytest-xdist = " ^3.8.0"
21+ pytest-mock = " ^3.15.1"
22+ freezegun = " ^1.5.5"
23+ factory-boy = " ^3.3.3"
24+ faker = " ^40.4.0"
25+ requests = " ^2.32.5"
26+ ruff = " ^0.15.1"
27+
28+ fastapi = " ^0.129.0"
29+ pybotx = " >=0.76.0,<1.0.0"
30+ pybotx-smartapp-rpc = " ^0.13.0"
31+
32+ [tool .ruff ]
33+ line-length = 88
34+ target-version = " py310"
35+
36+ [tool .ruff .lint ]
37+ select = [
38+ " E" ,
39+ " F" ,
40+ " I" ,
41+ " B" ,
42+ " UP" ,
43+ ]
44+
45+ [tool .ruff .lint .per-file-ignores ]
46+ "tests/*" = [" S101" ]
47+
48+ [tool .pytest .ini_options ]
49+ testpaths = [" tests" ]
50+ asyncio_mode = " auto"
51+ asyncio_default_fixture_loop_scope = " function"
52+ addopts = """
53+ --strict-markers
54+ --tb=short
55+ --cov=pybotx_smart_logger
56+ --cov-report=term-missing
57+ --cov-branch
58+ --no-cov-on-fail
59+ --cov-fail-under=100
60+ """
61+
62+ [tool .mypy ]
63+ plugins = [" pydantic.mypy" ]
64+ disallow_untyped_defs = true
65+ warn_redundant_casts = true
66+ warn_unused_ignores = true
67+ show_error_codes = true
68+
69+ [[tool .mypy .overrides ]]
70+ module = [" pytest.*" ]
71+ ignore_missing_imports = true
2972
3073[build-system ]
3174requires = [" poetry>=1.2.0" ]
0 commit comments