mirror of
https://github.com/EDeev/alertbot.git
synced 2026-10-07 20:49:56 +03:00
Зависимости закреплены по рабочему окружению, настройки ruff/pytest
This commit is contained in:
parent
63c9976888
commit
c7d4142438
3 changed files with 19 additions and 3 deletions
13
pyproject.toml
Normal file
13
pyproject.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
[tool.ruff]
|
||||||
|
target-version = "py310"
|
||||||
|
line-length = 120
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
select = ["E", "F", "W", "B", "S"]
|
||||||
|
ignore = ["E501", "E701"]
|
||||||
|
|
||||||
|
[tool.ruff.lint.per-file-ignores]
|
||||||
|
"tests/*" = ["S101", "S105", "S106"]
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
testpaths = ["tests"]
|
||||||
3
requirements-dev.txt
Normal file
3
requirements-dev.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
-r requirements.txt
|
||||||
|
pytest==8.4.2
|
||||||
|
ruff==0.14.0
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
aiogram>=3.0
|
aiogram==3.31.0
|
||||||
aiohttp
|
aiohttp==3.14.3
|
||||||
python-dotenv
|
python-dotenv==1.2.1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue